question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[QSelect with multiple] Clear the filter field when and option is selected

See original GitHub issue

Is your feature request related to a problem? Please describe. When a user pick an option on a QSelect with multiple && use-input props, it would be a good think to clean the search field. Ex :

  • I have an autocomplete to select multiple nationality
  • Sometime, the user type Fr, then select French
  • The option French is added to field model
  • Unfortunately, Fr is keeped, and the user need to clear the field to search another nationality

Describe the solution you’d like Always clear the search field when an option is selected

Describe alternatives you’ve considered Add a clear-search-field props to allow this feature to be available.

Additional context Thanks for your your attention.

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:6 (1 by maintainers)

github_iconTop GitHub Comments

3reactions
pdanpdancommented, Sep 6, 2019

Duplicate of https://github.com/quasarframework/quasar/issues/4600 - check there for the reasons to behave this way.

If you want you can call setInputValue('') on @input to clear the filter.

0reactions
rstoenescucommented, Sep 8, 2019

updateInputValue() is a method of the component. It’s not the same thing as “manipulating a child component”.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Select | Quasar Framework
The QSelect component has two types of selection: single or multiple. This component opens up a menu for the selection list and action....
Read more >
QSelect clears the selection on click with filter - Quasar forum
I use a multiple QSelect component that has options as return from an API using axes. ... QSelect clears the selection on click...
Read more >
How can I change selected item in qselect on page load
I use a QSelect Dropdown with some options on ...
Read more >
AutoCAD "Filter" Command, a Good Alternative to "Qselect"
The Filter command was introduced in AutoCAD R12 and was a valuable tool to build custom object select sets for your drawings.
Read more >
How to FILTER objects And QUICKSELECT in AutoCAD
Selecting objects using FILTER & QUICK SELECT. Selecting duplicate objects using SELECTION CYCLING.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found