Skip to content

Commit 54091b1

Browse files
author
kevinq.qk
committedFeb 2, 2019
style: npm run cs-format
1 parent f999547 commit 54091b1

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed
 

‎src/components/widgets/SelectWidget.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,9 @@ function SelectWidget(props) {
9191
const newValue = getValue(event, multiple);
9292
onChange(processValue(schema, newValue));
9393
}}>
94-
{!multiple && schema.default === undefined && <option value="">{placeholder}</option>}
94+
{!multiple && schema.default === undefined && (
95+
<option value="">{placeholder}</option>
96+
)}
9597
{enumOptions.map(({ value, label }, i) => {
9698
const disabled = enumDisabled && enumDisabled.indexOf(value) != -1;
9799
return (

0 commit comments

Comments
 (0)
Please sign in to comment.