build form from yaml
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
model:
|
||||
fields:
|
||||
category:
|
||||
type: "free_enum"
|
||||
generic_code:
|
||||
type: "free_enum"
|
||||
code:
|
||||
type: "string"
|
||||
value:
|
||||
type: "string"
|
||||
package:
|
||||
type: "free_enum"
|
||||
mounting:
|
||||
type: "enum"
|
||||
options:
|
||||
- "SMD"
|
||||
- "Through-hole"
|
||||
- "Screw"
|
||||
quantity:
|
||||
type: "int"
|
||||
min: 0
|
||||
location:
|
||||
type: "free_enum"
|
||||
sublocation:
|
||||
label: "Sub-location"
|
||||
type: "string"
|
||||
tags:
|
||||
type: "free_tags"
|
||||
note:
|
||||
type: "text"
|
||||
checkbox:
|
||||
type: "bool"
|
||||
Reference in New Issue
Block a user