Skip to content

Conversation

mehmetb
Copy link

@mehmetb mehmetb commented Apr 13, 2017

Hi,

I think it would be a nice feature to support hidden form inputs. In my own case, I needed this to achieve what I want and here we are.

Example use case:

Suppose you store an array of objects. Every property of these objects should be editable by the client but the requirement is to be able to tell that if all the properties of an object are modified completely or if that object is newly added to the array. With hidden inputs, you can easily store some id for the objects and can tell if an object is newly created or if all the fields of the object are modified.

mehmetb added 2 commits April 12, 2017 18:41
Example use case: Suppose you store an array of objects. Every property
of these objects should be editable by the client but the requirement
is to specifically identify if an object is modified totally or newly
added to the array. With hidden inputs, you can easily store the id
of the objects and can tell if an object is newly created or if all
the fields of the object is modified.

Signed-off-by: Mehmet Baker <[email protected]>
btsimonh pushed a commit to btsimonh/json-editor that referenced this pull request May 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant