Skip to content

feat(Form): adding option for required field

Amelia Bauerly requested to merge add-required-field-df 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?

Edited by Daniel Fosco

Merge request reports