Skip to content

Commit

Permalink
chore: remove htmlFor
Browse files Browse the repository at this point in the history
  • Loading branch information
jarekdanielak committed Oct 14, 2024
1 parent 4cc4543 commit a640034
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/components/entries/Checkbox.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ function Checkbox(props) {
onChange={ handleChange }
checked={ localValue }
disabled={ disabled } />
<label htmlFor={ prefixId(id) } class="bio-properties-panel-label">
<label for={ prefixId(id) } class="bio-properties-panel-label">
<Tooltip value={ tooltip } forId={ id } element={ props.element }>
{ label }
</Tooltip>
Expand Down
2 changes: 1 addition & 1 deletion src/components/entries/FEEL/Feel.js
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,7 @@ function FeelTextfieldComponent(props) {
'bio-properties-panel-feel-entry',
{ 'feel-active': feelActive }
) }>
<label htmlFor={ prefixId(id) } class="bio-properties-panel-label" onClick={ () => setFocus() }>
<label for={ prefixId(id) } class="bio-properties-panel-label" onClick={ () => setFocus() }>
<Tooltip value={ tooltip } forId={ id } element={ props.element }>
{label}
</Tooltip>
Expand Down

0 comments on commit a640034

Please sign in to comment.