Skip to main content

Bug Tracker

Side navigation

#7120 closed feature (duplicate)

Opened October 06, 2010 03:09PM UTC

Closed March 04, 2011 07:28PM UTC

problem with .link() and array type form inputs like <input name="foo[]" />

Reported by: pauly Owned by: BorisMoore
Priority: undecided Milestone:
Component: datalink Version: 1.4.2
Keywords: link data-link Cc:
Blocked by: Blocking:

If you have an input called party[children] with a value of 5 and you use the new jquery .link() to link the form to an object, it creates

{ 'party[children]': 5 }

instead of

{ party: { children: 5 } }

like I would expect...

Attachments (0)
Change History (4)

Changed October 06, 2010 11:31PM UTC by BorisMoore comment:1

component: unfileddatalink

Changed October 06, 2010 11:34PM UTC by BorisMoore comment:2

owner: → BorisMoore
status: newassigned
type: bugfeature

The Data Link plugin does not currently interpret the object structure from the name. That would be a good feature request. Switching this from type bug to type feature, and assigning back to me...

Changed November 12, 2010 02:40AM UTC by snover comment:3

milestone: 1.4.3

Resetting milestone to future.

Changed March 04, 2011 07:28PM UTC by BorisMoore comment:4

resolution: → duplicate
status: assignedclosed

This will be in Beta2 of DataLink. Resolving this issue here, and cloning a copy here: since we are using the Issue Tracker for DataLink issues.