-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Floating label doesn't work on input[type=email] when value is not valid #237
Comments
Hmm that's kind of strange. from https://github.com/quasarframework/quasar/blob/dev/src/css-components/textfield/textfield.mat.styl and https://github.com/quasarframework/quasar/blob/dev/src/css-components/textfield/textfield.ios.styl there is not difference in the types of |
New component coming soon for floating label. |
@rstoenescu Cool! Btw, just wanted to add another strange behavior on the password input label: Hope this helps in the new component! |
@eliashdezr Thanks, I'll make sure that's included in the fix (which I'm doing now) |
PR is being worked on by @CookieJon |
@CookieJon @rstoenescu Don't know if you found the solution, I guess the problem happens here: https://github.com/quasarframework/quasar/blob/dev/src/css-components/textfield/textfield.mat.styl#L67 ( I was investigating how MaterializeCss solve this, they put a .active class via jQuery into input when it doesn't have focus or when it have a value. @eliashdezr as a workahound for now you could remove |
Consider this solved. There's a mega-patch coming up for form components. |
Do you have a planned date for this to be released? Please, consider creating a q-input with properties like: label, label type (floating, stacked, left). Would be nice to have integration with validation showing message (could have a rule property). So, instead of:
We could have:
class="full-width" by default validation object could be something like
|
@oswaldomilet It's exactly what I've been working on the whole week :) + more other form related things. |
Will be available in v0.14 |
Using this code
And typing anything without the
@
causes this behavior on the label:The text was updated successfully, but these errors were encountered: