Fixing htmlFor usage.

This commit is contained in:
Roland 2025-01-11 12:04:22 -07:00
parent 95bbe22195
commit cef4335a53
No known key found for this signature in database
GPG key ID: 1BA620CE6C9A4680
2 changed files with 2 additions and 2 deletions

View file

@ -746,7 +746,7 @@ export function HelpHeader({
required = false,
}) {
return <div className='inline-header'>
<label for={for_}>
<label htmlFor={for_}>
<Header as={headerSize}>{headerContent} {required && <RequiredAsterisk/>}</Header>
</label>
<span>

View file

@ -307,7 +307,7 @@ export function InputForm({
}
return <>
<label for={`${name}_input`}>
<label htmlFor={`${name}_input`}>
<b>{label} {required && <RequiredAsterisk/>}</b>
{helpContent &&
<HelpPopup