Skip to content

Commit efe0c4f

Browse files
committed
fix(ui-form-field): fix Select's focus selecting its leaf not instead of the input field
This is a fix for the bug introduced by the FormFieldLayout refactor PR 1863. Now the multiple select example should not delete the added Tag-s
1 parent bf181c0 commit efe0c4f

File tree

1 file changed

+1
-0
lines changed
  • packages/ui-form-field/src/FormField

1 file changed

+1
-0
lines changed

packages/ui-form-field/src/FormField/index.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,7 @@ class FormField extends Component<FormFieldProps> {
6868
label={this.props.label}
6969
vAlign={this.props.vAlign}
7070
as="label"
71+
htmlFor={this.props.id}
7172
elementRef={this.handleRef}
7273
margin={this.props.margin}
7374
/>

0 commit comments

Comments
 (0)