added label & value in bg select
This commit is contained in:
parent
31d6851531
commit
dfba9b5742
2 changed files with 1 additions and 3 deletions
|
@ -1,4 +1,2 @@
|
|||
background_color_class = "bg-red"
|
||||
|
||||
[params]
|
||||
background_color_class = "bg-blue"
|
||||
|
|
|
@ -47,4 +47,4 @@ collections:
|
|||
name: params
|
||||
widget: object
|
||||
fields:
|
||||
- { label: Couleur du thème, name: background_color_class, widget: 'select', options: ["bg-red", "bg-blue", "bg-green", "bg-purple"] }
|
||||
- { label: Couleur du thème, name: background_color_class, widget: 'select', options: [{ label: 'Rouge', value: 'bg-red'},{ label: 'Bleu', value: 'bg-blue'},{ label: 'Vert', value: 'bg-green'},{ label: 'Violet', value: 'bg-purple'}] }
|
Loading…
Reference in a new issue