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

select search reset #24

Closed
greenspace10 opened this issue Jun 19, 2021 · 3 comments
Closed

select search reset #24

greenspace10 opened this issue Jun 19, 2021 · 3 comments
Labels
documentation Improvements or additions to documentation enhancement New feature or request

Comments

@greenspace10
Copy link

Describe the bug
when using select with search on a livewire component, search box does not clear until page is refreshed.

To Reproduce
use any select with search

Additional context
Recommend either:

  1. add search: '' to closePopover()
closePopover() {        
    this.popover = false
    search: ''
    this.$refs.select.dispatchEvent(new Event('close')) 
},
  1. watch for a emit('clear') from livewire.

nonetheless Great work! I have used a number of the available components, with little to no issues. although bit more documentation on some of them would be beneficial!

@PH7-Jack
Copy link
Member

Maybe be more convenient to clear search when select/unselect option.

@PH7-Jack
Copy link
Member

Thanks for your report

@PH7-Jack PH7-Jack added documentation Improvements or additions to documentation enhancement New feature or request labels Jun 19, 2021
@PH7-Jack
Copy link
Member

It is now fixed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants