In Checkbox and RadioButton add for attribute in label #3617
Labels
Type: Enhancement
Issue contains an enhancement related to a specific component. Additional functionality has been add
Milestone
I'm submitting a ... (check one with "x")
Current behavior
If a Checkbox or Radiobutton has
label
andinputId
, a label element is created but it doesn't have thefor
attribute filled.Expected behavior
When a Checkbox or Radiobutton has both
label
andinputId
, the generated label should have thefor
attribute pointing to the input element.The text was updated successfully, but these errors were encountered: