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

View File

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