[OUDS] Manage mandatory fields indication#3439
Conversation
✅ Deploy Preview for boosted ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
MaxLardenois
left a comment
There was a problem hiding this comment.
I think it's the right direction
| position: absolute; | ||
| margin-left: $form-label-required-margin-left; | ||
| color: $form-label-required-color; | ||
| margin-left: 4px; |
There was a problem hiding this comment.
Should we/did you ask for tokens for this?
There was a problem hiding this comment.
I asked for it in Figma
| @@ -18,8 +18,9 @@ | |||
|
|
|||
| .is-required::after { | |||
There was a problem hiding this comment.
Maybe we should put the is-required common css elsewhere as the content of this file is mostly Bootstrap... Idk where though
There was a problem hiding this comment.
I asked myself the question... We can still change that later
Co-authored-by: Maxime Lardenois <maxime.lardenois@orange.com>
Co-authored-by: Maxime Lardenois <maxime.lardenois@orange.com>
MaxLardenois
left a comment
There was a problem hiding this comment.
I'm wondering if we should add a mention in migration for the addition of is-required?
Also Idk if the behavior is different from Boosted, if so we should add something in migration from boosted
# Conflicts: # site/src/content/docs/components/text-area.mdx # site/src/content/docs/components/text-input.mdx
MaxLardenois
left a comment
There was a problem hiding this comment.
Approved as soon as the supplementaries examples are removed
@vprothais Like I said to Maxime, this is the same behaviour than with Boosted (add a class |
Types of change
Related issues
Closes #
Context & Motivation
For info, what mandatory text inputs look like in many labels' combinations:

For info, what mandatory select inputs look like in many labels' combinations:

Description
Checklists
Checklist (for Core Team only)
Progression (for Core Team only)
ouds/mainfollowing conventional commitLive previews