Skip to content

jQuery 1.5 breaks support for fields with '.' in name #21

Open
@ntziolis

Description

@ntziolis

The current version is not able to link from object to form fields, when using a '.' in a field name as ASP.NET MVC does by default when having hierarchical data in a form (when using the EditorFor<> helpers for model properties).

$(data).setField("Name", "SomeNewValue"); <- works (in first level of hierarchy, so no '.'
$(data).setField("English_Name", "SomeNewValue"); <- works (uses the id)
$(data).setField("English.Name", "SomeNewValue"); <-does not work (should use the name)

Thats the commit:
f2b13ff

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions