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

Incorrect input refs on Select and Autocomplete #193

Closed
fbeceic opened this issue Feb 8, 2024 · 0 comments · Fixed by #194
Closed

Incorrect input refs on Select and Autocomplete #193

fbeceic opened this issue Feb 8, 2024 · 0 comments · Fixed by #194
Labels
bug Something isn't working

Comments

@fbeceic
Copy link
Collaborator

fbeceic commented Feb 8, 2024

Basic information

  • Tiller version: 1.8.0
  • Module: formik-elements

Bug description

The current implementation of the scroll-to-error feature (#167) does not properly handle errors occurring in Select and Autocomplete (with multiple selection) components. When validation errors are triggered in these components, the scroll-to-error functionality fails to scroll the viewport to the respective error messages, causing usability issues for users. This is because the reference to inputs in these components is incorrect, so the feature can't find an element to put into focus.

@fbeceic fbeceic added the bug Something isn't working label Feb 8, 2024
@fbeceic fbeceic self-assigned this Feb 8, 2024
@fbeceic fbeceic changed the title Incorrect input refs on Select and Autocomplete (multiple selection) Incorrect input refs on Select and Autocomplete Feb 8, 2024
@fbeceic fbeceic removed their assignment Feb 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant