fix(ui): set checkbox htmlFor by default, fixing some checkbox labels not toggling the checkbox (#6684)

This commit is contained in:
Alessio Gravili
2024-06-08 15:34:26 -04:00
committed by GitHub
parent 17707852e0
commit ac34380eb8

View File

@@ -78,6 +78,7 @@ export const CheckboxInput: React.FC<CheckboxInputProps> = ({
</div>
<FieldLabel
CustomLabel={CustomLabel}
htmlFor={id}
label={label}
required={required}
{...(labelProps || {})}