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

Missing function to delete selected element in Dropdown #325

Open
minhdandys2 opened this issue Jan 20, 2025 · 1 comment
Open

Missing function to delete selected element in Dropdown #325

minhdandys2 opened this issue Jan 20, 2025 · 1 comment

Comments

@minhdandys2
Copy link

Can you add a function to delete the selected element of the Dropdown component?
Currently, after selecting a value, there is no way to remove it. Or can you add a prop so I can put my delete button in it?

@simon-assistiq
Copy link

simon-assistiq commented Jan 24, 2025

Could you use renderItem to put your own item in the list with a delete button and update the state accordingly when it's tapped?

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