From c258016fbafc357905921c7a96104629fdd01641 Mon Sep 17 00:00:00 2001 From: SAI SUMANTH KUMAR Date: Sun, 24 Oct 2021 19:50:27 +0530 Subject: [PATCH] Bugfix: The search box should be displayed on the map if `canSearch` is set to true by default (#1243) * Update components.js * Update components.js --- frontend/src/Editor/Components/components.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/frontend/src/Editor/Components/components.js b/frontend/src/Editor/Components/components.js index 09bce5fb9b..9e873084ed 100644 --- a/frontend/src/Editor/Components/components.js +++ b/frontend/src/Editor/Components/components.js @@ -1000,6 +1000,9 @@ export const componentTypes = [ defaultMarkers: { value: `{{ [{"lat": 40.7128, "lng": -73.935242}] }}`, }, + canSearch: { + value: `{{true}}` , + }, }, addNewMarkers: { value: '{{false}}' }, events: [],