fix(ui): set checkbox htmlFor by default, fixing some checkbox labels not toggling the checkbox (#6684)
This commit is contained in:
@@ -78,6 +78,7 @@ export const CheckboxInput: React.FC<CheckboxInputProps> = ({
|
|||||||
</div>
|
</div>
|
||||||
<FieldLabel
|
<FieldLabel
|
||||||
CustomLabel={CustomLabel}
|
CustomLabel={CustomLabel}
|
||||||
|
htmlFor={id}
|
||||||
label={label}
|
label={label}
|
||||||
required={required}
|
required={required}
|
||||||
{...(labelProps || {})}
|
{...(labelProps || {})}
|
||||||
|
|||||||
Reference in New Issue
Block a user