quasar
quasar copied to clipboard
q-select & q-dialog-select clearable attribute not working
Software version
Quasar:0.14.7 OS: Node: NPM: Browsers:chrome iOS: Android: Any other software related to your bug:
What did you get as the error?
refer title
<q-dialog-select
:clearable="true"
ref="salesCountrySelector"
color="black"
v-model="filterData.countryID"
:options="countriesOptions.options"
:ok-label="$t('Common.Choose.Btn')"
:cancel-label="$t('Common.Close.Btn')"
:title="$t('general.select.country')"
:stack-label="$t('general.select.country')"
:message="$t('general.select.country.text')"
@change="salesCountryChange"
/>
What were you expecting?
able to clear select value
What steps did you take, to get the error?
Try just "clearable" instead of ":clearable=true". For example, this works for me:
<q-select v-model="category" clearable :options="categoryList"/>
working after npm update.thanks for ur time