fix: select mode via segmented button in split by parts

This commit is contained in:
2026-10-07 14:47:50 +05:00
parent 32cb369ca9
commit 676be383d9
6 changed files with 55 additions and 2 deletions
+1 -1
View File
@@ -25,7 +25,7 @@ function selectOptions(
const spec = (
field as { spec?: { kind?: string; options?: SelectOption[] } }
).spec;
if (spec?.kind !== "select") continue;
if (spec?.kind !== "select" && spec?.kind !== "segmented") continue;
for (const option of spec.options ?? []) result.push({ fieldId, option });
}
return result;