QInput shadow-text
is showing when input is out of focus but hasError
is true
#17155
Labels
area/components
bug/1-repro-available
A reproduction is available and needs to be confirmed.
flavour/quasar-cli-vite
kind/bug 🐞
Qv2 🔝
Quasar v2 issues
What happened?
When there is an
error
present and the input loses focus the shadow text is still displayed. This creates an ugly overlapping effect oflabel
andshadow-text
.If there IS NOT AN ERROR the shadow text disappears when focus is lost,
What did you expect to happen?
I have a
q-input
where i userules
for some basic validation. I also have ashadow-text
that i want to always be visible when the input isfocused
.EDIT
After playing around, i found out that the class
q-field--highlighted
is responsible for the visibility of theshadow-text
. This class is normally removed when focus is lost but NOT when there is an error.Reproduction URL
https://codepen.io/dtsiantaris/pen/JjVqLZJ
How to reproduce?
val.length
rule kicks in -> You can still see the shadow-textFlavour
Quasar CLI with Vite (@quasar/cli | @quasar/app-vite)
Areas
Components (quasar)
Platforms/Browsers
No response
Quasar info output
No response
Relevant log output
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: