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

chore: Use Fields in FieldSet docs #1310

Merged
merged 1 commit into from
Jun 28, 2024

Conversation

alimpens
Copy link
Contributor

What do we want to do with the error bar for FieldSets containing Fields? Should the error bar only be shown for the Field that has an input with an error (so <Field invalid="true")? Or should it be shown for the entire FieldSet (so <FieldSet invalid="true")?

Currently, the second option is shown.

@alimpens alimpens changed the title Use Fields in FieldSet docs chore: Use Fields in FieldSet docs Jun 28, 2024
@RubenSibon
Copy link
Contributor

RubenSibon commented Jun 28, 2024

I agree that option 2 is the right choice. The sub-fields or inputs already get the detailed error message that provides the user with clear and actionable feedback on what to do, but if the fields belong together in a set then it makes sense that the error indication also belongs to the entire field set.

@VincentSmedinga VincentSmedinga merged commit 1074f4d into develop Jun 28, 2024
6 of 7 checks passed
@VincentSmedinga VincentSmedinga deleted the task/DES-801-use-field-in-fieldset-docs branch June 28, 2024 19:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants