Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added hidden input support #749

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Added hidden input support #749

wants to merge 2 commits into from

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.

…checks

Signed-off-by: Mehmet Baker <mehmet.baker@gmail.com>
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 <mehmet.baker@gmail.com>
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.

None yet

1 participant