Quasar: [v1 request] bring back clearable prop for QInput/QSelect

Created on 8 Mar 2019  路  4Comments  路  Source: quasarframework/quasar

I see that the QInput component used to have a clearable property in v0.17.* :
https://quasar-framework.org/components/input-textfield.html#Vue-Properties

However it was removed in the upgrade to v1:
https://v1.quasar-framework.org/start/upgrade-guide#QInput

I have been using the append slot of q-input elements and specifying a close icon, with code to clear the variable used by the q-input v-model property, however it is tedious and could be simplified with a single clearable prop in QInput.

Would you consider bringing the clearable property back?

Those people who want more customisation could continue to use the append slot.

Most helpful comment

Hi,

Yes, it's been on my mind for a few days now. It will get back in beta.10.

All 4 comments

Hi,

Yes, it's been on my mind for a few days now. It will get back in beta.10.

Awesome, thanks @rstoenescu !

Will be available in beta.12

Would be nice if clearable icon hide and appear when mouse hover (of course for desktop behavior)

Was this page helpful?
0 / 5 - 0 ratings