Skip to content

Commit

Permalink
Change single select combo box to plain text in esdocs (elastic#23853)
Browse files Browse the repository at this point in the history
  • Loading branch information
cqliu1 committed Oct 5, 2018
1 parent 932faba commit bf0f0fd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export const ESFieldSelect = ({ value, fields = [], onChange, onFocus, onBlur })
}}
onFocus={onFocus}
onBlur={onBlur}
singleSelection
singleSelection={{ asPlainText: true }}
isClearable={false}
/>
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export const ESIndexSelect = ({ value, loading, indices, onChange, onFocus, onBl
onFocus={onFocus}
disabled={loading}
options={options}
singleSelection
singleSelection={{ asPlainText: true }}
isClearable={false}
onCreateOption={input => onChange(input || defaultIndex)}
/>
Expand Down

0 comments on commit bf0f0fd

Please sign in to comment.