Skip to content

Commit 5e343a2

Browse files
committed
fix: Wrong prop order
1 parent 3844c48 commit 5e343a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/core/src/components/widgets/SelectWidget.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ function SelectWidget<T = any, S extends StrictRJSFSchema = RJSFSchema, F extend
7373
return (
7474
<select
7575
id={id}
76-
name={id || htmlName}
76+
name={htmlName || id}
7777
multiple={multiple}
7878
role='combobox'
7979
className='form-control'

0 commit comments

Comments
 (0)