Skip to content

Commit ad42072

Browse files
Merge pull request #239 from balena-io-modules/wire-placeholder-to-select
Form/SelectWidget: Support the placeholder property
2 parents 80c123a + 3996098 commit ad42072

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/components/Form/Widgets/SelectWidget.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,7 @@ export const SelectWidget = ({
128128
...(inputProps ?? {}),
129129
},
130130
}}
131+
placeholder={placeholder}
131132
{...(multiple && {
132133
onKeyDown: (e) => {
133134
// Prevent deleting the last chip with backspace or delete https://github.com/mui/material-ui/issues/21129#issuecomment-636919142

0 commit comments

Comments
 (0)