enumOptions and enum reader used everywhere

This commit is contained in:
2026-06-04 16:17:03 +05:30
parent d6506e854a
commit 80ca1ac9a9
8 changed files with 77 additions and 48 deletions

View File

@@ -149,7 +149,7 @@ export default function FormField({
}
// 5. Enum Handling
if (field.type === 'enum' && field.options) {
if (field.type === 'enum') {
const options = getFieldOptions(field);
return (
<FormControl fullWidth>