Read the article

View Source

Advanced Auto Fields

Form.FromSchema generates the entire form. Use Form.AutoFields for more control with include/exclude.

1. Form.FromSchema — Full Auto

One component, zero field definitions:

Minimum 2 characters
From 0 to 120
From 1 to 5

2. Form.AutoFields — With Filtering

Include only specific fields, or exclude some:

Only name, email, role (include filter):

Minimum 2 characters

Form Values

{7 items
"name":""
"email":""
"age":25
"role":"user"
"bio":""
"active":true
"rating":3
}

3. Mixed — AutoFields + Custom

Auto-generate most fields, manually add custom ones:

Minimum 2 characters
From 0 to 120

Custom fields below:

From 1 to 5

Form Values

{7 items
"name":""
"email":""
"age":25
"role":"user"
"bio":""
"active":true
"rating":3
}