Closed Viicos closed 10 months ago
The current definition:
https://github.com/open-formulieren/open-forms-sdk/blob/b1210cd7ed9d2415d2554798bd617d8aad1fed92/src/components/forms/Label.js#L12-L28
uses requiredFieldsWithAsterisk to determine if not required should be appended to the label. I think it makes more sense to only rely on isRequired.
requiredFieldsWithAsterisk
isRequired
Discussed, there was a lack in understanding of this configuration parameter :-)
The current definition:
https://github.com/open-formulieren/open-forms-sdk/blob/b1210cd7ed9d2415d2554798bd617d8aad1fed92/src/components/forms/Label.js#L12-L28
uses
requiredFieldsWithAsterisk
to determine if not required should be appended to the label. I think it makes more sense to only rely onisRequired
.