-
Notifications
You must be signed in to change notification settings - Fork 93
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
Create TextField component #2868
Conversation
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as resolved.
This comment was marked as resolved.
2c0461e
to
7de9b5f
Compare
It looks really good, some points:
|
I think that that would be too big for most purposes. I already made it slightly bigger than what we currently have. Also we're aiming at WCAG level 2 for most of our UI elements.
I would do this in separate components in order to have smaller and easier to maintain components. Once we have them we can create a "meta"
Sounds good :)
These are already bound because all the attrs are inherited by the inner html
Sounds good :) |
What about adding this label icon from within the textfield component, as a slot for example? |
That would make sense and I would be happy with that too: What I see as patterns are: personal page
theming section
inline textfield
|
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me 👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In case of passwords the clear button should be replaced with an Eye-con to show the password instead of ***** ?
Or not part of v1 of the component?
Co-authored-by: Carl Schwan <carl@carlschwan.eu> Signed-off-by: Marco <marcoambrosini@icloud.com>
Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com> Signed-off-by: Marco <marcoambrosini@icloud.com>
Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com> Signed-off-by: Marco <marcoambrosini@icloud.com>
Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com> Signed-off-by: Marco <marcoambrosini@icloud.com>
Signed-off-by: Marco Ambrosini <marcoambrosini@icloud.com>
Abstracts some logic into a more general purpose InputVue component and build the TextField component on top of that. Signed-off-by: Marco Ambrosini <marcoambrosini@icloud.com>
Signed-off-by: Marco Ambrosini <marcoambrosini@icloud.com>
Signed-off-by: Marco Ambrosini <marcoambrosini@icloud.com>
/backport to stable5 |
Co-authored-by: Joas Schilling <213943+nickvergessen@users.noreply.github.com> Signed-off-by: Marco <marcoambrosini@icloud.com>
e589eec
to
f1be9a1
Compare
fixes #2866
Screen.Recording.2022-07-27.at.11.44.52.mov