From b859dac4511bc0dfb07ccca262eb57753ef6b61f Mon Sep 17 00:00:00 2001 From: "Grot (@grafanabot)" <43478413+grafanabot@users.noreply.github.com> Date: Thu, 29 Sep 2022 00:55:51 +0000 Subject: [PATCH] Geomap: Fix tooltip display option (#55956) (#55964) (cherry picked from commit b0cd511ecce5da93689a332dd72f2aab97b2f20c) Co-authored-by: Drew Slobodnjak <60050885+drew08t@users.noreply.github.com> --- public/app/core/components/OptionsUI/registry.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/public/app/core/components/OptionsUI/registry.tsx b/public/app/core/components/OptionsUI/registry.tsx index d9ece7c8451..817287f524d 100644 --- a/public/app/core/components/OptionsUI/registry.tsx +++ b/public/app/core/components/OptionsUI/registry.tsx @@ -81,7 +81,8 @@ export const getAllOptionEditors = () => { name: 'Boolean', description: 'Allows boolean values input', editor(props) { - return props.onChange(e.currentTarget.checked)} />; + const { id, ...rest } = props; // Remove id from properties passed into switch + return props.onChange(e.currentTarget.checked)} />; }, };