Skip to content
Snippets Groups Projects
Unverified Commit bc61f37f authored by Ryoh827's avatar Ryoh827 Committed by GitHub
Browse files

refactor(frontend): fix enum types in scripts/form (#11138)

parent c065b971
No related branches found
No related tags found
No related merge requests found
type EnumItem = string | {label: string; value: string;};
export type FormItem = {
label?: string;
type: 'string';
......@@ -20,7 +21,7 @@ export type FormItem = {
type: 'enum';
default: string | null;
hidden?: boolean;
enum: string[];
enum: EnumItem[];
} | {
label?: string;
type: 'radio';
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment