aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorbobzel <zzzman@gmail.com>2023-08-21 16:05:14 -0400
committerbobzel <zzzman@gmail.com>2023-08-21 16:05:14 -0400
commit9505f9d488fb7850a6cb95cab5695b474a271fae (patch)
treef7a6135cca0e5406a870dc37e9d57e14b70a42e6 /src
parent775f55b2d013608d3c53166d36ec927e08c3dcef (diff)
added Enter event for editableText
Diffstat (limited to 'src')
-rw-r--r--src/client/views/nodes/MapBox/MapBox.tsx1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/client/views/nodes/MapBox/MapBox.tsx b/src/client/views/nodes/MapBox/MapBox.tsx
index f6f0d4402..f7f046e9a 100644
--- a/src/client/views/nodes/MapBox/MapBox.tsx
+++ b/src/client/views/nodes/MapBox/MapBox.tsx
@@ -803,6 +803,7 @@ export class MapBox extends ViewBoxAnnotatableComponent<ViewBoxAnnotatableProps
<EditableText
// editing
setVal={(newText: string | number) => typeof newText === 'string' && this.searchbarOnEdit(newText)}
+ onEnter={e => this.bingSearch()}
placeholder="Boston"
textAlign="center"
/>