From 9ef8d43286a012d227c42273018441615840e2ca Mon Sep 17 00:00:00 2001 From: bach Date: Wed, 3 May 2023 17:02:40 +0200 Subject: [PATCH] doleancer form improved --- ...form_display.node.concernement.default.yml | 22 +++++++++++++------ ...orm_display.paragraph.doleance.default.yml | 7 +++--- ...y_form_display.paragraph.etape.default.yml | 12 ++++++++-- 3 files changed, 29 insertions(+), 12 deletions(-) diff --git a/src/config/sync/core.entity_form_display.node.concernement.default.yml b/src/config/sync/core.entity_form_display.node.concernement.default.yml index dca016a..54dd1bd 100644 --- a/src/config/sync/core.entity_form_display.node.concernement.default.yml +++ b/src/config/sync/core.entity_form_display.node.concernement.default.yml @@ -120,7 +120,7 @@ third_party_settings: children: - field_doleancer label: Doleancer - region: hidden + region: content parent_name: group_tabs weight: 16 format_type: tab @@ -171,28 +171,36 @@ content: settings: title: Paragraphe title_plural: Paragraphs - edit_mode: open + edit_mode: closed closed_mode: summary - autocollapse: none + autocollapse: all closed_mode_threshold: 0 add_mode: dropdown form_display_mode: default - default_paragraph_type: '' + default_paragraph_type: doleance features: + add_above: '0' collapse_edit_all: collapse_edit_all - duplicate: duplicate + duplicate: '0' third_party_settings: { } field_entite: - type: entity_reference_paragraphs + type: paragraphs weight: 11 region: content settings: title: Paragraphe title_plural: Paragraphs edit_mode: open + closed_mode: summary + autocollapse: all + closed_mode_threshold: 0 add_mode: dropdown form_display_mode: default - default_paragraph_type: '' + default_paragraph_type: entite_concernement + features: + add_above: '0' + collapse_edit_all: collapse_edit_all + duplicate: '0' third_party_settings: { } field_lieu: type: entity_reference_autocomplete diff --git a/src/config/sync/core.entity_form_display.paragraph.doleance.default.yml b/src/config/sync/core.entity_form_display.paragraph.doleance.default.yml index 72aca91..a6b22a1 100644 --- a/src/config/sync/core.entity_form_display.paragraph.doleance.default.yml +++ b/src/config/sync/core.entity_form_display.paragraph.doleance.default.yml @@ -77,16 +77,17 @@ content: settings: title: Paragraphe title_plural: Paragraphs - edit_mode: open + edit_mode: closed closed_mode: summary autocollapse: none closed_mode_threshold: 0 add_mode: dropdown form_display_mode: default - default_paragraph_type: '' + default_paragraph_type: etape features: + add_above: '0' collapse_edit_all: collapse_edit_all - duplicate: duplicate + duplicate: '0' third_party_settings: { } hidden: created: true diff --git a/src/config/sync/core.entity_form_display.paragraph.etape.default.yml b/src/config/sync/core.entity_form_display.paragraph.etape.default.yml index 5bbf989..b7d76b7 100644 --- a/src/config/sync/core.entity_form_display.paragraph.etape.default.yml +++ b/src/config/sync/core.entity_form_display.paragraph.etape.default.yml @@ -9,9 +9,11 @@ dependencies: - field.field.paragraph.etape.field_type - paragraphs.paragraphs_type.etape module: + - advanced_text_formatter - datetime - field_group - file + - maxlength - text third_party_settings: field_group: @@ -78,9 +80,15 @@ content: weight: 4 region: content settings: - rows: 5 + rows: 3 placeholder: '' - third_party_settings: { } + third_party_settings: + maxlength: + maxlength_js: null + maxlength_js_label: 'Contenu limité à @limit caractères, restant : @remaining' + maxlength_js_enforce: false + advanced_text_formatter: + show_token_tree: 0 field_documents: type: file_generic weight: 3