Skip to content

Commit

Permalink
style: npm run cs-format
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinq.qk committed Feb 2, 2019
1 parent f999547 commit 54091b1
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/components/widgets/SelectWidget.js
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,9 @@ function SelectWidget(props) {
const newValue = getValue(event, multiple);
onChange(processValue(schema, newValue));
}}>
{!multiple && schema.default === undefined && <option value="">{placeholder}</option>}
{!multiple && schema.default === undefined && (
<option value="">{placeholder}</option>
)}
{enumOptions.map(({ value, label }, i) => {
const disabled = enumDisabled && enumDisabled.indexOf(value) != -1;
return (
Expand Down

0 comments on commit 54091b1

Please sign in to comment.