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

The reset() method is triggering on change event and causing an infinite loop when used on certain contexts #320

Closed
gnbm opened this issue Mar 29, 2024 · 1 comment
Labels
bug Something isn't working enhancement New feature or request

Comments

@gnbm
Copy link
Collaborator

gnbm commented Mar 29, 2024

The reset() method triggers the change event and causes an infinite loop when used for instance inside the change event listener.
An example can be simulated in this codepen and here's what happening:

DropdownClearInfiniteLoop

@gnbm gnbm added bug Something isn't working documentation Improvements or additions to documentation enhancement New feature or request and removed bug Something isn't working documentation Improvements or additions to documentation labels Mar 30, 2024
@gnbm gnbm added the bug Something isn't working label Apr 23, 2024
@gnbm
Copy link
Collaborator Author

gnbm commented Apr 23, 2024

Fixed in release v1.0.43.

@gnbm gnbm closed this as completed Apr 23, 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 enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant