added label & value in bg select

This commit is contained in:
maxime-cool 2024-01-30 10:44:59 +01:00
parent 31d6851531
commit dfba9b5742
2 changed files with 1 additions and 3 deletions

View file

@ -1,4 +1,2 @@
background_color_class = "bg-red"
[params]
background_color_class = "bg-blue"

View file

@ -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'}] }