From b0cd511ecce5da93689a332dd72f2aab97b2f20c Mon Sep 17 00:00:00 2001 From: Drew Slobodnjak <60050885+drew08t@users.noreply.github.com> Date: Wed, 28 Sep 2022 15:21:21 -0700 Subject: [PATCH] Geomap: Fix tooltip display option (#55956) --- 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)} />; }, };