You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
Required labels have a asterisk * which cannot be styled. I would like like to change the asterisk to be red, or use a icon to indicate that the input is required, or have some text such as "(necessario)".
Describe the solution you'd like
To inputs that are required add a required or form-required class to the label.
Hi @vanillajonathan, Thanks for the suggestion! Definitely makes sense to me. The required asterisk should reside in an own customizable element so that it becomes easily styleable.
davewwww
added a commit
to davewwww/jsonforms
that referenced
this issue
Feb 9, 2024
…ControlWrapper (#2274)
* feat: create own element for asterisk and add class in vue vanilla controlWrapper #2238
* add label directly without computedLabel, add "required" style class
Fix#2238
Is your feature request related to a problem? Please describe.
Required labels have a asterisk
*
which cannot be styled. I would like like to change the asterisk to be red, or use a icon to indicate that the input is required, or have some text such as "(necessario)".Describe the solution you'd like
To inputs that are required add a
required
orform-required
class to the label.This way it can be styled using CSS:
Describe alternatives you've considered
Fork the Vanilla renderer.
Framework
Vue 3
RendererSet
Vanilla
Additional context
No response
The text was updated successfully, but these errors were encountered: