diff --git a/src/lib/kit/hooks/useOneOf/useOneOf.tsx b/src/lib/kit/hooks/useOneOf/useOneOf.tsx index 22c2933f..0c3ee768 100644 --- a/src/lib/kit/hooks/useOneOf/useOneOf.tsx +++ b/src/lib/kit/hooks/useOneOf/useOneOf.tsx @@ -100,7 +100,7 @@ export const useOneOf = ({props, onTogglerChange}: UseOneOfParams) => { ); const togglerType = React.useMemo(() => { - if (spec.viewSpec.oneOfParams?.toggler === 'card' && options.length < 3) { + if (spec.viewSpec.oneOfParams?.toggler === 'card' && options.length < 4) { return 'card'; }