quasarframework / quasar

Quasar Framework - Build high-performance VueJS user interfaces in record time
https://quasar.dev
MIT License
25.29k stars 3.43k forks source link

q-field: Unexpected Data Clearing with clearable Attribute Enabled #17113

Closed FangHanZreo closed 5 days ago

FangHanZreo commented 3 weeks ago

What happened?

Clicking on a QField component will clear the model value.###

What did you expect to happen?

Only upon clicking the clear button should the model value be cleared.

Reproduction URL

https://codepen.io/fanghanzreo/pen/MWRqRYg

How to reproduce?

Click q-filed component

Flavour

Quasar CLI with Webpack (@quasar/cli | @quasar/app-webpack)

Areas

Components (quasar)

Platforms/Browsers

Microsoft Edge

Quasar info output

» Dev mode.................. spa
 » Pkg quasar................ v2.15.0
 » Pkg @quasar/app-webpack... v3.12.4
 » Transpiled JS............. yes (Babel)

Relevant log output

No response

Additional context

No response

myleslee commented 3 weeks ago

It happens on Quasar 2.15.3 as well.

myleslee commented 5 days ago

@rstoenescu this issue prevents us from upgrading. Will it be merged soon? Thanks

rstoenescu commented 5 days ago

Pushed fix. Will be available in Quasar v2.16.2.