Compare commits

...

2 commits

Author SHA1 Message Date
maxime-cool 49ee474bd8 Merge branch 'main' of https://git.deuxfleurs.fr/maximeg/palettetest
All checks were successful
continuous-integration/drone/push Build is passing
2024-01-30 10:45:07 +01:00
maxime-cool dfba9b5742 added label & value in bg select 2024-01-30 10:44:59 +01:00
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-green"

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