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

how to reset dropdown menu? #133

Closed
rmsramos opened this issue Jul 5, 2023 · 2 comments
Closed

how to reset dropdown menu? #133

rmsramos opened this issue Jul 5, 2023 · 2 comments

Comments

@rmsramos
Copy link

rmsramos commented Jul 5, 2023

First, thanks for the package.
how can i reset the dropdown menus in a form using javascript?

@mkocansey
Copy link
Owner

Hello @rmsramos you are welcome.

You will need to use the Select component and not the Dropdown component.

There is more info available here

https://bladewindui.com/component/select#js-manipulations

Please let me know if you need some more info.

@rmsramos
Copy link
Author

rmsramos commented Jul 5, 2023

Perfect, I've tested it and it's wonderful.
Thank you again.

@rmsramos rmsramos closed this as completed Jul 5, 2023
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

2 participants