card editing, keeping order, fixes
This commit is contained in:
@@ -0,0 +1,38 @@
|
||||
model:
|
||||
fields:
|
||||
category:
|
||||
type: "free_enum"
|
||||
code:
|
||||
type: "free_enum"
|
||||
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"
|
||||
fixed_tags:
|
||||
type: "tags"
|
||||
options:
|
||||
- aaa
|
||||
- bbb
|
||||
- ccc
|
||||
- ddd
|
||||
- eee
|
||||
+5
-32
@@ -1,38 +1,11 @@
|
||||
model:
|
||||
fields:
|
||||
category:
|
||||
species:
|
||||
type: "free_enum"
|
||||
code:
|
||||
breed:
|
||||
type: "free_enum"
|
||||
value:
|
||||
color:
|
||||
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:
|
||||
alive:
|
||||
type: "bool"
|
||||
fixed_tags:
|
||||
type: "tags"
|
||||
options:
|
||||
- aaa
|
||||
- bbb
|
||||
- ccc
|
||||
- ddd
|
||||
- eee
|
||||
default: true
|
||||
|
||||
Reference in New Issue
Block a user