Blog2010 ≫ Did I just find an issue with the new jquery .link()?

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

{ 'party[children]': 5 }

instead of

{ party: { children: 5 } }

like I would expect...

This is something very new1 that @jeresig mentioned at FOWA yesterday, so it may not be quite finished yet. Or maybe I got it wrong. Raised2 will see what happens...

UPDATE: It's been picked up as a feature request2 and will be added...

💬 RE: Did I just find an issue with the new jquery .link()? - 13737

⬅️ :: ➡️

Paul Clarke's blog - I live in Hythe in the far South. Married to Clare + father to two, I am a full-stack web engineer, and I do mostly js / nodejs, some ruby, python, php ect ect. I like pubbing, running, eating, home automation and other diy jiggery-pokery, history, genealogy, Television, squirrels, pirates, lego, + TIME TRAVEL.