feat(fend): skeleton components

This commit is contained in:
Lewis Wynne 2026-03-23 18:51:48 +00:00
parent 3c6a31f86b
commit 608d863c88
18 changed files with 395 additions and 77 deletions

View file

@ -62,7 +62,8 @@ function parseOptions(field: any): SelectOption[] {
function parseField(raw: any): FieldDef {
const base = {
label: raw['@_label']
label: raw['@_label'],
...(raw['@_required'] === 'true' && { required: true })
};
const type = raw['@_type'];