Skip to content

Commit

Permalink
🚑 Remove 'name' attribute from SelectWidget (Bootstrap-4) (rjsf-team#…
Browse files Browse the repository at this point in the history
…2025)

* 🚑 Remove 'name' attribute

* ☔ update tests
  • Loading branch information
Xtremilicious authored Aug 31, 2020
1 parent 155225f commit a4d5916
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion packages/bootstrap-4/src/SelectWidget/SelectWidget.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,6 @@ const SelectWidget = ({
as="select"
custom
id={id}
name={name}
value={typeof value === "undefined" ? emptyValue : value}
required={required}
multiple={multiple}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,6 @@ exports[`array fields checkboxes 1`] = `
disabled={false}
id="root"
multiple={true}
name="nodejs"
onBlur={[Function]}
onChange={[Function]}
onFocus={[Function]}
Expand Down
1 change: 0 additions & 1 deletion packages/bootstrap-4/test/__snapshots__/Form.test.tsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -588,7 +588,6 @@ exports[`single fields select field 1`] = `
className="custom-select"
disabled={false}
id="root"
name="nodejs"
onBlur={[Function]}
onChange={[Function]}
onFocus={[Function]}
Expand Down

0 comments on commit a4d5916

Please sign in to comment.