-
Notifications
You must be signed in to change notification settings - Fork 88
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
Use NcTextField
for NcActionInput
#3784
Conversation
c99e870
to
8abdd54
Compare
NcSelect
for NcActionInput
type text
NcSelect
for NcActionInput
type textNcTextField
for NcActionInput
type text
4ccdae5
to
fc0aefa
Compare
a725143
to
ddcafdf
Compare
Signed-off-by: Raimund Schlüßler <[email protected]>
ddcafdf
to
5c8cf43
Compare
NcTextField
for NcActionInput
type textNcTextField
for NcActionInput
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.
Code 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.
And design looks good! Finally the actions have an (almost) consistent look.
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.
Could you especially have a look at the color picker please? Before we used an input field of type color which gave the native colorpicker, now we use the colorpicker from nextcloud/vue.
Main question here would be if it's still accessible. In other places we tend to go with native solutions since they often are the closest to being accessible. Is it possible to make the element look like it does in your proposal but still use the input type color?
Also cc @Pytal @JuliaKirschenheuter regarding accessibility.
This PR introduces the
NcTextField
andNcPasswordField
to theNcActionInput
component to unify the appearance.I had to enhance the
NcInputField
component a bit, to allow typenumber
and enable adding a class to its input field.@jancborchardt @nimishavijay Could you especially have a look at the color picker please? Before we used an input field of type color which gave the native colorpicker, now we use the colorpicker from nextcloud/vue.