Quasar: [Request] QSelect - clearable prop

Created on 19 Oct 2017  路  4Comments  路  Source: quasarframework/quasar

Software version

Quasar: 0.14.5
OS: windows 10
Node:
NPM:
Browsers:
iOS:
Android:
Any other software related to your bug:

What did you get as the error?

What were you expecting?

Add Clearable single q-select
Ref - http://element.eleme.io/#/en-US/component/select#clearable-single-select

What steps did you take, to get the error?

Most helpful comment

Agreed. Will get into v0.14.7

All 4 comments

It's easy to create your own component that extends QSelect with prop clearable and adds the existing property after with somethig like

[{
  icon: 'cancel',
  content: true,
  handler: () => { this.$emit('input', this.multiple ? [] : '') }
}]

But I agree, this feature must be in the base component.

Agreed. Will get into v0.14.7

@igorgo thank you for the quickfix @rstoenescu good to hear that thanks man

Available in edge and future v0.14.7.
QSelect (& QDialogSelect) now supports "clearable" Boolean prop.

Was this page helpful?
0 / 5 - 0 ratings