diff --git a/src-docs/src/views/combo_box/async.js b/src-docs/src/views/combo_box/async.js index e74619c3a58c..050cc376f0ef 100644 --- a/src-docs/src/views/combo_box/async.js +++ b/src-docs/src/views/combo_box/async.js @@ -70,7 +70,6 @@ export default class extends Component { } const newOption = { - value: searchValue, label: searchValue, }; diff --git a/src-docs/src/views/combo_box/colors.js b/src-docs/src/views/combo_box/colors.js index c5384c510191..0c4dafefb773 100644 --- a/src-docs/src/views/combo_box/colors.js +++ b/src-docs/src/views/combo_box/colors.js @@ -61,7 +61,6 @@ export default class extends Component { } const newOption = { - value: searchValue, label: searchValue, }; diff --git a/src-docs/src/views/combo_box/combo_box.js b/src-docs/src/views/combo_box/combo_box.js index fa4081054961..bd01a4bae0b5 100644 --- a/src-docs/src/views/combo_box/combo_box.js +++ b/src-docs/src/views/combo_box/combo_box.js @@ -9,35 +9,25 @@ export default class extends Component { super(props); this.options = [{ - value: 'titan', label: 'Titan', 'data-test-subj': 'titanOption', }, { - value: 'enceladus', label: 'Enceladus', }, { - value: 'mimas', label: 'Mimas', }, { - value: 'dione', label: 'Dione', }, { - value: 'iapetus', label: 'Iapetus', }, { - value: 'phoebe', label: 'Phoebe', }, { - value: 'rhea', label: 'Rhea', }, { - value: 'pandora', label: 'Pandora is one of Saturn\'s moons, named for a Titaness of Greek mythology', }, { - value: 'tethys', label: 'Tethys', }, { - value: 'hyperion', label: 'Hyperion', }]; @@ -60,13 +50,12 @@ export default class extends Component { } const newOption = { - value: searchValue, label: searchValue, }; // Create the option if it doesn't exist. if (flattenedOptions.findIndex(option => - option.value.trim().toLowerCase() === normalizedSearchValue + option.label.trim().toLowerCase() === normalizedSearchValue ) === -1) { this.options.push(newOption); } diff --git a/src-docs/src/views/combo_box/containers.js b/src-docs/src/views/combo_box/containers.js index 17b5678ff8c0..f0171aa00025 100644 --- a/src-docs/src/views/combo_box/containers.js +++ b/src-docs/src/views/combo_box/containers.js @@ -81,7 +81,6 @@ export default class extends Component { } const newOption = { - value: searchValue, label: searchValue, }; diff --git a/src-docs/src/views/combo_box/custom_options_only.js b/src-docs/src/views/combo_box/custom_options_only.js index 6007ed2ea337..a2d6bed25c0a 100644 --- a/src-docs/src/views/combo_box/custom_options_only.js +++ b/src-docs/src/views/combo_box/custom_options_only.js @@ -21,7 +21,6 @@ export default class extends Component { } const newOption = { - value: searchValue, label: searchValue, }; diff --git a/src-docs/src/views/combo_box/groups.js b/src-docs/src/views/combo_box/groups.js index 1f665f710f1b..55bca665e414 100644 --- a/src-docs/src/views/combo_box/groups.js +++ b/src-docs/src/views/combo_box/groups.js @@ -55,7 +55,6 @@ export default class extends Component { } const newOption = { - value: searchValue, label: searchValue, };