- Issue created by @ionut_ottawa
- First commit to issue fork.
At the initialization of the form, the required field is hidden and become visible only if certain radio button is clicked. The multi values fields set as required loose the "required" attribute when "add" or "+" is clicked to add another item.
While I have lots of contrib and custom modules on my application, this behavior is still present on fresh/minimal install on simplytest.me Webform 6.2.9 on Drupal 10.4.3.
However, if you chose the third option at the step 3, than select back one of the first 2, the required field attr and label is back again.
My guess is that the field is not loaded correct at the build phase. Kint doesn't show up "required=true" for that field. If I hardcode "required=true" for the field, it's working as intended.
Thank you,
Ionut
Active
6.2
Code