-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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
Clicking cancel in saved query save modal doesn't close it #62463
Comments
Pinging @elastic/kibana-app-arch (Team:AppArch) |
@cchaos, @flash1293
I found some places where validation applies by input changes (creating an index pattern, creating a pipeline). As you can see here nothing prevents the user from further entering characters, he just sees the problem right away. From my point of view, we can return the previous behavior and triggers validation every change in input and disable the save button if validation is failed. It will lead to fix this bug because when a user clicks on the "Cancel" button the validation will not be triggered and the height of the window will not be increased. Therefore, the click correctly hits the button. What do you think about it? |
The PR description explains really well the reason for validating on blur:
I don't think going back to validating as they type is acceptable for this particular form. Instead I think there are two solutions:
|
Kibana version: master
Describe the bug: When clicking cancel in the saved query modal, the modal isn't closed and an error message is shown about title being a mandatory field.
Steps to reproduce:
Expected behavior:
Modal should close right away
Screenshots (if relevant):
Any additional context:
Nothing major, but probably a "good first issue"
The text was updated successfully, but these errors were encountered: