diff --git a/packages/grafana-ui/src/components/Forms/Select/Select.story.tsx b/packages/grafana-ui/src/components/Forms/Select/Select.story.tsx index 14be3595470..3fc5b5097bc 100644 --- a/packages/grafana-ui/src/components/Forms/Select/Select.story.tsx +++ b/packages/grafana-ui/src/components/Forms/Select/Select.story.tsx @@ -247,17 +247,23 @@ export const customizedControl = () => { export const customValueCreation = () => { const [value, setValue] = useState>(); - + const [customOptions, setCustomOptions] = useState>>([]); + const options = generateOptions(); return ( <>