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

Add support for initial values #2

Open
niho opened this issue Feb 18, 2020 · 0 comments
Open

Add support for initial values #2

niho opened this issue Feb 18, 2020 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@niho
Copy link
Owner

niho commented Feb 18, 2020

Make it possible to initialise the form with initial values to make it possible to create "edit" forms. It is currently possible to specify default values in the schema, but those are not useful if the form has already been submitted with user supplied values. If that is the case you might want to show the form again, but this time with the user supplied values as default values.

Example:

Json.Schema.Form.init options schema initialValues
@niho niho added the enhancement New feature or request label Feb 18, 2020
@niho niho self-assigned this Feb 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant