fixed home duplicate, patched autocomplete deluxe for placeholder message

This commit is contained in:
2026-09-15 13:58:21 +02:00
parent dfc12f8203
commit 4b82a912f1
9 changed files with 301 additions and 194 deletions
@@ -17,6 +17,7 @@ dependencies:
- image.style.thumbnail
- node.type.evenement
module:
- autocomplete_deluxe
- datetime_range
- field_group
- image
@@ -60,12 +61,12 @@ third_party_settings:
required_fields: true
group_details:
children:
- status
- promote
- field_type_d_evenement
- field_dates
- field_lieu
- field_portage
- status
- promote
- langcode
- path
- url_redirects
@@ -153,7 +154,7 @@ content:
third_party_settings: { }
field_dates:
type: daterange_default
weight: 12
weight: 18
region: content
settings: { }
third_party_settings: { }
@@ -185,7 +186,7 @@ content:
third_party_settings: { }
field_lieu:
type: entity_reference_autocomplete
weight: 13
weight: 19
region: content
settings:
match_operator: CONTAINS
@@ -205,7 +206,7 @@ content:
third_party_settings: { }
field_portage:
type: options_select
weight: 14
weight: 20
region: content
settings: { }
third_party_settings: { }
@@ -220,25 +221,32 @@ content:
placeholder: ''
third_party_settings: { }
field_type_d_evenement:
type: entity_reference_autocomplete
weight: 11
type: autocomplete_deluxe
weight: 17
region: content
settings:
match_operator: CONTAINS
match_limit: 10
autocomplete_route_name: autocomplete_deluxe.autocomplete
size: 60
placeholder: ''
selection_handler: default
match_limit: 10
min_length: 0
delimiter: ''
not_found_message_allow: false
not_found_message: "The term '@term' will be added"
new_terms: false
no_empty_message: "Pour qu'un évenement puisse apparaître sur la home, il doit obligatoirement avoir un type d'évenement."
third_party_settings: { }
langcode:
type: language_select
weight: 17
weight: 21
region: content
settings:
include_locked: true
third_party_settings: { }
path:
type: path
weight: 18
weight: 22
region: content
settings: { }
third_party_settings: { }
@@ -265,7 +273,7 @@ content:
placeholder: ''
third_party_settings: { }
url_redirects:
weight: 19
weight: 23
region: content
settings: { }
third_party_settings: { }
@@ -47,11 +47,11 @@ third_party_settings:
width_breakpoint: 640
group_details:
children:
- status
- promote
- field_type_de_projet
- field_portage
- field_dates
- status
- promote
- langcode
- path
label: Details
@@ -170,7 +170,7 @@ content:
third_party_settings: { }
field_dates:
type: daterange_default
weight: 7
weight: 12
region: content
settings: { }
third_party_settings: { }
@@ -219,7 +219,7 @@ content:
third_party_settings: { }
field_portage:
type: options_select
weight: 6
weight: 11
region: content
settings: { }
third_party_settings: { }
@@ -235,7 +235,7 @@ content:
third_party_settings: { }
field_type_de_projet:
type: autocomplete_deluxe
weight: 5
weight: 10
region: content
settings:
match_operator: CONTAINS
@@ -248,18 +248,18 @@ content:
not_found_message_allow: false
not_found_message: "The term '@term' will be added"
new_terms: false
no_empty_message: 'No terms could be found. Please type in order to add a new term.'
no_empty_message: "Pour qu'un projet puisse apparaître sur la home, il doit obligatoirement avoir un type de projet."
third_party_settings: { }
langcode:
type: language_select
weight: 10
weight: 13
region: content
settings:
include_locked: true
third_party_settings: { }
path:
type: path
weight: 11
weight: 14
region: content
settings: { }
third_party_settings: { }
@@ -11,7 +11,7 @@ field_name: field_type_d_evenement
entity_type: node
bundle: evenement
label: "Type d'évenement"
description: ''
description: "Pour qu'un évenement puisse apparaître sur la home, il doit obligatoirement avoir un type d'évenement"
required: false
translatable: false
default_value: { }
@@ -11,7 +11,7 @@ field_name: field_type_de_projet
entity_type: node
bundle: projet
label: 'Type de projet'
description: ''
description: "Pour qu'un évenement puisse apparaître sur la home, il doit obligatoirement avoir un type de projet"
required: false
translatable: false
default_value: { }
+29 -28
View File
@@ -200,16 +200,7 @@ display:
distinct: true
replica: false
query_tags: { }
relationships:
field_type_de_projet:
id: field_type_de_projet
table: node__field_type_de_projet
field: field_type_de_projet
relationship: none
group_type: group
admin_label: 'field_type_de_projet : Terme de taxonomie'
plugin_id: standard
required: false
relationships: { }
header: { }
footer: { }
display_extenders: { }
@@ -443,20 +434,18 @@ display:
default_group: All
default_group_multiple: { }
group_items: { }
tid_raw:
id: tid_raw
table: taxonomy_term_field_data
field: tid_raw
relationship: field_type_de_projet
tid:
id: tid
table: taxonomy_index
field: tid
relationship: none
group_type: group
admin_label: ''
entity_type: taxonomy_term
plugin_id: numeric
operator: '='
plugin_id: taxonomy_index_tid
operator: or
value:
min: ''
max: ''
value: '1,4'
1: 1
4: 4
group: 1
exposed: false
expose:
@@ -473,9 +462,7 @@ display:
multiple: false
remember_roles:
authenticated: authenticated
min_placeholder: ''
max_placeholder: ''
placeholder: ''
reduce: false
is_grouped: false
group_info:
label: ''
@@ -488,6 +475,20 @@ display:
default_group: All
default_group_multiple: { }
group_items: { }
reduce_duplicates: false
vid: type_de_projet
type: select
hierarchy: false
limit: true
error_message: true
save_lineage: false
force_deepest: false
parent: null
level_labels: ''
hierarchy_depth: 0
required_depth: 0
none_label: '- Please select -'
allow_unpublished: false
filter_groups:
operator: OR
groups:
@@ -607,10 +608,10 @@ display:
default_group: All
default_group_multiple: { }
group_items: { }
field_type_de_projet_target_id_1:
id: field_type_de_projet_target_id_1
table: node__field_type_de_projet
field: field_type_de_projet_target_id
tid:
id: tid
table: taxonomy_index
field: tid
relationship: none
group_type: group
admin_label: ''