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

After clicking validation error message, the form auto scroll to the related input. #250

Open
tanbowensg opened this issue Jan 30, 2022 · 1 comment
Labels
editor feature New feature or request
Milestone

Comments

@tanbowensg
Copy link
Collaborator

What problem does this feature solve?

What does the proposed API look like?

@tanbowensg tanbowensg added feature New feature or request editor labels Jan 30, 2022
@tanbowensg tanbowensg added this to the v1.0.0 milestone Jan 30, 2022
@tanbowensg tanbowensg mentioned this issue Jan 30, 2022
10 tasks
@Yuyz0112
Copy link
Contributor

Looking forward to a state-driven API of the validator.

If the validator can expose a reactive state with complete information, we can:

  1. Let a form field observe whether it has a validation error. Then display an error UI and scroll into view.
  2. Let the expression editor observe whether it has an invalid expression, and highlight the code with an error color.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
editor feature New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants