Skip to content

Commit 6a739a6

Browse files
authored
fix: label association in React Material Autocomplete
The Autocomplete in React Material was wrongly instrumented, leading to a broken for property in the rendered label. This is now fixed.
1 parent 5602557 commit 6a739a6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/material-renderers/src/mui-controls/MuiAutocomplete.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ export const MuiAutocomplete = (
129129
autoFocus={appliedUiSchemaOptions.focus}
130130
disabled={!enabled}
131131
{...params}
132-
id={id + '-input'}
132+
id={id}
133133
required={
134134
required && !appliedUiSchemaOptions.hideRequiredAsterisk
135135
}

0 commit comments

Comments
 (0)