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

input type text onchange when typing #1445

Open
gmmoliveros opened this issue Dec 8, 2023 · 5 comments
Open

input type text onchange when typing #1445

gmmoliveros opened this issue Dec 8, 2023 · 5 comments
Assignees

Comments

@gmmoliveros
Copy link

Currently validation only fires when you remove the focus on the input type text elements. Is there a way to validate those like in an actual change eventlistener does ? Thanks!

@schmunk42
Copy link
Collaborator

See show_errors in https://github.com/json-editor/json-editor#options

@gmmoliveros
Copy link
Author

gmmoliveros commented Dec 8, 2023

Hi @schmunk42 , i tried show_errors with values always & change . it does not work when onchange/typing for input type text elements. i still need to unfocus the element so that json-editor will revalidate.

@schmunk42
Copy link
Collaborator

Please provide an example link.

@schmunk42 schmunk42 reopened this Dec 8, 2023
@schmunk42
Copy link
Collaborator

@germanbisurgi Should we also trigger validation for keyUp when validation is always?

Related:

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

No branches or pull requests

3 participants