From fddacdb7e1d0a8f1386003773027ec979fcbea5e Mon Sep 17 00:00:00 2001 From: Nathan Reese Date: Mon, 3 Feb 2020 17:34:03 -0500 Subject: [PATCH] cast suggestion values to string so boolean fields work --- .../maps/public/layers/styles/vector/components/stop_input.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/x-pack/legacy/plugins/maps/public/layers/styles/vector/components/stop_input.js b/x-pack/legacy/plugins/maps/public/layers/styles/vector/components/stop_input.js index 942e13d6c5666..77ff3fb3f44db 100644 --- a/x-pack/legacy/plugins/maps/public/layers/styles/vector/components/stop_input.js +++ b/x-pack/legacy/plugins/maps/public/layers/styles/vector/components/stop_input.js @@ -70,7 +70,7 @@ export class StopInput extends Component { render() { const suggestionOptions = this.state.suggestions.map(suggestion => { - return { label: suggestion }; + return { label: `${suggestion}` }; }); const selectedOptions = [];