trimble-oss / modus

Welcome to the home of the Modus design system developer projects!
https://github.com/trimble-oss/modus
MIT License
10 stars 2 forks source link

Required field in Input Fields component for Figma and XD #316

Open soniakaukonen opened 2 years ago

soniakaukonen commented 2 years ago

Add an option for a "required" or compulsory field by adding an asterisk. Currently not possible without breaking the component. Consider: placement of the asterisk (in a label). Feedback upon empty compulsory field.

soniakaukonen commented 2 years ago

Done in Figma.

enowak1031 commented 1 year ago

We should update the style guide site to say "Always mark required fields with an . An additional label explaining what the asterisk is for eg. (Required ), may be needed. Placement of this label is subject to use case.