Skip to content

feat(Form): Add option for marking fields required

Daniel Fosco requested to merge update-required-field-docs into main

What does this MR do?

Updates contents/components/form.md to add an exception for forms where all fields are optional but 1-2:

Required information

We default to all information being required unless stated otherwise with "(optional)" added to the label of the corresponding input field.

However, if your form is entirely optional except for 1-2 fields, it might make sense to mark those as "(required)" instead

Does this MR meet the acceptance criteria?

Links

Edited by Amelia Bauerly

Merge request reports

Loading