diff --git a/src/components/graph/vueWidgets/WidgetSelect.vue b/src/components/graph/vueWidgets/WidgetSelect.vue index 94286b153..2639c2e64 100644 --- a/src/components/graph/vueWidgets/WidgetSelect.vue +++ b/src/components/graph/vueWidgets/WidgetSelect.vue @@ -3,7 +3,12 @@ - @@ -27,4 +32,15 @@ const props = defineProps<{ const filteredProps = computed(() => filterWidgetProps(props.widget.options, PANEL_EXCLUDED_PROPS) ) + +// Extract select options from widget options +const selectOptions = computed(() => { + const options = props.widget.options + + if (options?.values && Array.isArray(options.values)) { + return options.values + } + + return [] +})