improved color field

This commit is contained in:
Bachir Soussi Chiadmi 2024-10-10 11:07:15 +02:00
parent 80f7f43370
commit 09d09461b5
2 changed files with 28 additions and 11 deletions

View File

@ -33,7 +33,7 @@ third_party_settings:
group_details:
children:
- field_vignette
- field_couleur
- group_couleur
- field_saison
- field_arret_numero
- field_dates
@ -138,6 +138,21 @@ third_party_settings:
formatter: closed
description: ''
required_fields: true
group_couleur:
children:
- field_couleur
label: Couleur
region: content
parent_name: group_details
weight: 6
format_type: fieldset
format_settings:
classes: ''
show_empty_fields: true
id: ''
label_as_html: false
description: ''
required_fields: true
id: node.etape.default
targetEntityType: node
bundle: etape
@ -151,22 +166,22 @@ content:
third_party_settings: { }
field_arret_numero:
type: number
weight: 8
weight: 9
region: content
settings:
placeholder: ''
third_party_settings: { }
field_couleur:
type: color_pickr_default
weight: 6
weight: 7
region: content
settings:
theme: nano
hide_description: '1'
hide_description: 0
third_party_settings: { }
field_dates:
type: daterange_default
weight: 9
weight: 10
region: content
settings: { }
third_party_settings: { }
@ -212,7 +227,7 @@ content:
third_party_settings: { }
field_saison:
type: autocomplete_deluxe
weight: 7
weight: 8
region: content
settings:
match_operator: CONTAINS
@ -229,7 +244,7 @@ content:
third_party_settings: { }
field_thematiques:
type: autocomplete_deluxe
weight: 10
weight: 11
region: content
settings:
match_operator: CONTAINS
@ -254,20 +269,20 @@ content:
third_party_settings: { }
path:
type: path
weight: 13
weight: 14
region: content
settings: { }
third_party_settings: { }
promote:
type: boolean_checkbox
weight: 12
weight: 13
region: content
settings:
display_label: true
third_party_settings: { }
status:
type: boolean_checkbox
weight: 11
weight: 12
region: content
settings:
display_label: true

View File

@ -15,7 +15,9 @@ label: Couleur
description: ''
required: true
translatable: false
default_value: { }
default_value:
-
color_pickr: '#F44336'
default_value_callback: ''
settings: { }
field_type: color_pickr_code