diff --git a/CHANGELOG.md b/CHANGELOG.md index 4738b2b9dbd..f78148178ea 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,7 @@ - Added `direction` prop to EuiFlexGroup ([#711](https://github.com/elastic/eui/pull/711)) - Added `EuiEmptyPrompt` which can be used as a placeholder over empty tables and lists ([#711](https://github.com/elastic/eui/pull/711)) - Added `EuiTabbedContent` ([#737](https://github.com/elastic/eui/pull/737)) +- `EuiComboBox` added buttons for clearing and opening/closing the combo box. ([#698](https://github.com/elastic/eui/pull/698)) **Bug fixes** diff --git a/src-docs/src/views/combo_box/combo_box.js b/src-docs/src/views/combo_box/combo_box.js index 647af621fbb..db61934ae6b 100644 --- a/src-docs/src/views/combo_box/combo_box.js +++ b/src-docs/src/views/combo_box/combo_box.js @@ -76,6 +76,7 @@ export default class extends Component { selectedOptions={selectedOptions} onChange={this.onChange} onCreateOption={this.onCreateOption} + isClearable={true} /> ); } diff --git a/src/components/combo_box/__snapshots__/combo_box.test.js.snap b/src/components/combo_box/__snapshots__/combo_box.test.js.snap index eaa38d234f8..f8707b14f49 100644 --- a/src/components/combo_box/__snapshots__/combo_box.test.js.snap +++ b/src/components/combo_box/__snapshots__/combo_box.test.js.snap @@ -3,49 +3,27 @@ exports[`EuiComboBox is rendered 1`] = `