Skip to content
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

auro-form Ability to have "required" flag show the asterisk on required fields instead of showing "(optional)" on optional fields #201

Open
Chris-Boe opened this issue Jan 10, 2025 · 1 comment
Assignees
Labels
auro-form not-reviewed Issue has not been reviewed by Auro team members Type: Feature New Feature

Comments

@Chris-Boe
Copy link

Is your feature request related to a problem? Please describe.

UX would like the Enrollment form to have red asterisks next to required fields, instead of only showing "(optional)" text on the optional fields with no asterisk on required fields. We cannot do this without the auro-inputs and other form elements supporting this as an option

Describe the solution you'd like

Should be the same as previous years before removing the asterisk
Example:
Image

Describe alternatives you've considered

Manually adding an asterisk to the helper text, but it cannot be styled correctly

Additional context

This used to be the way required fields would be shown, however there was a UX decision to show (optional) on optional fields instead. Now UX is reconsidering, so both should be allowed via API.

Exit criteria

  • Required fields in the form can have either red asterisks indicating they are required, or no asterisk with the optional fields showing (optional) in helper text
@Chris-Boe Chris-Boe added auro-form not-reviewed Issue has not been reviewed by Auro team members Type: Feature New Feature labels Jan 10, 2025
@megrenn
Copy link

megrenn commented Jan 14, 2025

cc @Patrick-Daly-AA @NickingAS Chris recommends the UX team provide some clarity, since it should NOT be a design pattern and be the description above

@jason-capsule42 jason-capsule42 changed the title auro-form: Ability to have "required" flag show the asterisk on required fields instead of showing "(optional)" on optional fields auro-form Ability to have "required" flag show the asterisk on required fields instead of showing "(optional)" on optional fields Jan 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
auro-form not-reviewed Issue has not been reviewed by Auro team members Type: Feature New Feature
Projects
None yet
Development

No branches or pull requests

3 participants