diff --git a/packages/lib-components/src/components/inputs/selects/SelectQueryField/Generic/index.tsx b/packages/lib-components/src/components/inputs/selects/SelectQueryField/Generic/index.tsx index e578e60307..243d5ef821 100644 --- a/packages/lib-components/src/components/inputs/selects/SelectQueryField/Generic/index.tsx +++ b/packages/lib-components/src/components/inputs/selects/SelectQueryField/Generic/index.tsx @@ -199,7 +199,8 @@ export const GenericSelectQueryField = forwardRef { - const hasOptions = options && Children.count(options[0].props.children) > 1; + const hasProps = options && options[0].props; + const hasOptions = hasProps && Children.count(options[0].props.children) > 1; // initialFocus=-1 is used to prevent the first item from being focused when the list opens return (