Dynamic form fields from database based on field value
For example,
Field: Asset Type = enum
On field selection, get attribute field definitions from db and display attribute fields
[{name: foo, type: number, default_value: 1}]
Since the schema and default values for the form are defined up front, is it possible to do this in a single form, or do I need to nest the attributes as a separate form? If so, how could I combine the forms state on submit?