Skip to content

Commit

Permalink
fixed typeahead
Browse files Browse the repository at this point in the history
  • Loading branch information
rmathis committed Jun 18, 2021
1 parent 23a1c6e commit 8db84a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/src/app/form/component/widgets/OptionWidget.js
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ const OptionWidget = ({
}
};

const defaultInputValue = typeof value === 'object' && value && value.label ? value.label : value;
const defaultInputValue = typeof value === 'object' && value && value.label ? value.label : value ? value : '';

const [ inputValue, setInputValue ] = React.useState( defaultInputValue );

Expand Down

0 comments on commit 8db84a6

Please sign in to comment.