Quasar: QSelect: using 'multiple' together with 'option-label', 'option-value', 'map-options' and 'emit-value' results in unwanted behavior

Created on 21 Jan 2020  路  1Comment  路  Source: quasarframework/quasar

Describe the bug
Using 'multiple' together with 'option-label', 'option-value', 'map-options' and 'emit-value' results in unwanted behavior. When configuring the QSelect this way it is possible to select the same option multiple times.

Codepen/jsFiddle/Codesandbox (required)
https://codepen.io/tofupen/pen/yLyGOLL?editors=1010

To Reproduce
Steps to reproduce the behavior:

  1. Go to https://codepen.io/tofupen/pen/yLyGOLL?editors=1010
  2. Click on the QSelect to open the options
  3. Click on the option 'Google'
  4. Click on the option 'Google' again
  5. Error: the option 'Google' gets selected twice

Expected behavior
After the second click the option 'Google' should be deselected and removed from QSelect

Screenshots
Screenshot 2020-01-21 at 15 00 53

bug

Most helpful comment

Hi,

Thanks for reporting!
Fix will be available this week in v1.8.0.

>All comments

Hi,

Thanks for reporting!
Fix will be available this week in v1.8.0.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

fnicollier picture fnicollier  路  3Comments

mesqueeb picture mesqueeb  路  3Comments

adwidianjaya picture adwidianjaya  路  3Comments

hctpbl picture hctpbl  路  3Comments

slowaways picture slowaways  路  3Comments