powmedia / backbone-forms

Form framework for BackboneJS with nested forms, editable lists and validation
MIT License
2.17k stars 413 forks source link

Added order property to object editor. #542

Closed stepek closed 6 years ago

stepek commented 7 years ago

Main case is allow user to define order of object properties.

stepek commented 7 years ago

@philfreo @powmedia could you check this?

philfreo commented 7 years ago

What's the use case here? I'm not sure this is necessary because I believe you can already rely on the object property definition order to set a desired order. If for some reason that was insufficient (for me it never has been) then I think it would be better to be able to set an array of fields rather than to have to indicate some index.