Lazy Rules Stays Lazy After First Blur #17456
Labels
area/components
bug/2-confirmed
We have reproduce the problem and confirmed that this is a bug.
flavour/quasar-cli-vite
kind/bug 🐞
Qv2 🔝
Quasar v2 issues
What happened?
When a QInput is configured with
:lazy-rules=true
, validation does not occur until the first blur, as expected. After the first blur, validation only occurs on subsequent blurs, and does not occur as changes are made to the model.What did you expect to happen?
As stated in the documentation:
Validation should occur on the first blur. After the first blur, validation should occur with changes to the model.
Reproduction URL
https://codepen.io/xarmin/pen/vYqjJav?editors=101
How to reproduce?
Flavour
Quasar CLI with Vite (@quasar/cli | @quasar/app-vite)
Areas
Components (quasar)
Platforms/Browsers
Firefox
Quasar info output
No response
Relevant log output
No response
Additional context
This behavior also occurs on the Quasar documentation site for QInput:
https://quasar.dev/vue-components/input#example--lazy-rules
I believe this behavior changed at some point, based on past projects and various GitHub conversations I have found. This change does not seem intentional.
The text was updated successfully, but these errors were encountered: