Skip to content

Want to remove dropdown selected value and reset it deliberately #13

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

Open
sachdeva2008 opened this issue Jul 25, 2019 · 4 comments
Open

Comments

@sachdeva2008
Copy link

I'm unable to remove selected value of that dropdown. i.e. which is visible in that input type.

@sachdeva2008 sachdeva2008 changed the title want to remove dropdown selected value and reset it deliberately Want to remove dropdown selected value and reset it deliberately Jul 25, 2019
@jacobprouse
Copy link

You can access the visible input by reference.
this.$refs.dropdown.searchFilter = '' will reset the visible selection
additionally
this.$refs.dropdown.selected = {id: xxx, name: xxx} will allow you to set the selected payload

@sachdeva2008
Copy link
Author

thanks it worked...:)

@sachdeva2008
Copy link
Author

It shows TypeError: handler.apply is not a function....when keyup event occurs on that input

@MarnuLombard
Copy link

Should be solved by #20

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

3 participants