diff --git a/app/components/forms/SettingsSubmit.tsx b/app/components/forms/SettingsSubmit.tsx index 6ce0fe7b..88cabf62 100644 --- a/app/components/forms/SettingsSubmit.tsx +++ b/app/components/forms/SettingsSubmit.tsx @@ -129,7 +129,12 @@ function useOptions(path: string) { child = rows.find((r: any) => r?.field === full); } - const choices: any[] = child?.meta?.options?.choices || []; + // ⟵ PATCH: read choices from nested child.options.choices first, then meta.options.choices + const choices: any[] = + (child?.options?.choices as any[]) || + (child?.meta?.options?.choices as any[]) || + []; + const mapped: Opt[] = choices.map((c: any) => ({ id: String(c.value ?? c.key ?? c.id), label: String(c.text ?? c.label ?? c.name ?? c.value),