mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Geomap: Fix tooltip display option (#55956)
This commit is contained in:
parent
16c9c858b8
commit
b0cd511ecc
@ -81,7 +81,8 @@ export const getAllOptionEditors = () => {
|
||||
name: 'Boolean',
|
||||
description: 'Allows boolean values input',
|
||||
editor(props) {
|
||||
return <Switch {...props} onChange={(e) => props.onChange(e.currentTarget.checked)} />;
|
||||
const { id, ...rest } = props; // Remove id from properties passed into switch
|
||||
return <Switch {...rest} onChange={(e) => props.onChange(e.currentTarget.checked)} />;
|
||||
},
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user