From a3e151e256dd67181c58ac7d9839cf676b43c05f Mon Sep 17 00:00:00 2001 From: Lily Yan Date: Mon, 19 Sep 2022 11:27:07 -0400 Subject: [PATCH 1/2] ISTWCMS-5769 Update maxlength settings under admin/structure/types/manage/uw_ct_service/form-display and re-create feature --- ...orm_display.node.uw_ct_service.default.yml | 64 +++++++++++++++---- uw_ct_service.info.yml | 1 + 2 files changed, 54 insertions(+), 11 deletions(-) diff --git a/config/install/core.entity_form_display.node.uw_ct_service.default.yml b/config/install/core.entity_form_display.node.uw_ct_service.default.yml index 8eede4a..bbe4475 100644 --- a/config/install/core.entity_form_display.node.uw_ct_service.default.yml +++ b/config/install/core.entity_form_display.node.uw_ct_service.default.yml @@ -27,9 +27,11 @@ dependencies: - node.type.uw_ct_service module: - address + - allowed_formats - field_group - geofield_map - link + - maxlength - media_library - metatag - office_hours_exceptions @@ -151,7 +153,6 @@ content: maxlength_js: 160 maxlength_js_label: 'Content limited to @limit characters, remaining: @remaining' maxlength_js_enforce: false - maxlength_js_truncate_html: false field_uw_meta_image: type: media_library_widget weight: 37 @@ -165,6 +166,7 @@ content: region: content settings: sidebar: false + use_details: true third_party_settings: { } field_uw_service_audience: type: term_reference_tree @@ -211,7 +213,14 @@ content: settings: rows: 5 placeholder: '' - third_party_settings: { } + third_party_settings: + maxlength: + maxlength_js: null + maxlength_js_label: 'Content limited to @limit characters, remaining: @remaining' + maxlength_js_enforce: false + allowed_formats: + hide_help: '0' + hide_guidelines: '0' field_uw_service_hours: type: office_hours_exception weight: 6 @@ -225,7 +234,10 @@ content: settings: size: 60 placeholder: '' - third_party_settings: { } + third_party_settings: + maxlength: + maxlength_js: null + maxlength_js_label: 'Content limited to @limit characters, remaining: @remaining' field_uw_service_length: type: string_textfield weight: 31 @@ -233,7 +245,10 @@ content: settings: size: 60 placeholder: '' - third_party_settings: { } + third_party_settings: + maxlength: + maxlength_js: null + maxlength_js_label: 'Content limited to @limit characters, remaining: @remaining' field_uw_service_location: type: address_default weight: 16 @@ -299,7 +314,10 @@ content: settings: size: 60 placeholder: '' - third_party_settings: { } + third_party_settings: + maxlength: + maxlength_js: null + maxlength_js_label: 'Content limited to @limit characters, remaining: @remaining' field_uw_service_owner: type: link_default weight: 34 @@ -322,7 +340,14 @@ content: settings: rows: 5 placeholder: '' - third_party_settings: { } + third_party_settings: + maxlength: + maxlength_js: null + maxlength_js_label: 'Content limited to @limit characters, remaining: @remaining' + maxlength_js_enforce: false + allowed_formats: + hide_help: '0' + hide_guidelines: '0' field_uw_service_status: type: options_select weight: 2 @@ -336,7 +361,14 @@ content: settings: rows: 5 placeholder: '' - third_party_settings: { } + third_party_settings: + maxlength: + maxlength_js: null + maxlength_js_label: 'Content limited to @limit characters, remaining: @remaining' + maxlength_js_enforce: false + allowed_formats: + hide_help: '0' + hide_guidelines: '0' field_uw_service_support: type: text_textarea weight: 33 @@ -344,7 +376,14 @@ content: settings: rows: 5 placeholder: '' - third_party_settings: { } + third_party_settings: + maxlength: + maxlength_js: null + maxlength_js_label: 'Content limited to @limit characters, remaining: @remaining' + maxlength_js_enforce: false + allowed_formats: + hide_help: '0' + hide_guidelines: '0' langcode: type: language_select weight: 11 @@ -385,14 +424,14 @@ content: third_party_settings: { } scheduler_settings: weight: 20 + region: content settings: { } third_party_settings: { } - region: content simple_sitemap: weight: 10 + region: content settings: { } third_party_settings: { } - region: content status: type: boolean_checkbox weight: 19 @@ -414,7 +453,10 @@ content: settings: size: 60 placeholder: '' - third_party_settings: { } + third_party_settings: + maxlength: + maxlength_js: null + maxlength_js_label: 'Content limited to @limit characters, remaining: @remaining' uid: type: entity_reference_autocomplete weight: 12 diff --git a/uw_ct_service.info.yml b/uw_ct_service.info.yml index 3336141..f4a15f6 100644 --- a/uw_ct_service.info.yml +++ b/uw_ct_service.info.yml @@ -30,6 +30,7 @@ dependencies: - 'geofield:geofield' - 'geofield_map:geofield_map' - 'layout_builder_restrictions:layout_builder_restrictions' + - 'maxlength:maxlength' - 'metatag:metatag' - 'node_revision_delete:node_revision_delete' - 'office_hours:office_hours' -- GitLab From 7527a1246a7d03bbebcbc2edc0aace5a51bd7dae Mon Sep 17 00:00:00 2001 From: Lily Yan Date: Wed, 21 Sep 2022 11:38:11 -0400 Subject: [PATCH 2/2] ISTWCMS-5769 Update maxlength settings under admin/structure/taxonomy/manage/uw_vocab_service_categories/overview/form-display and re-create feature --- ...rm.uw_vocab_service_categories.default.yml | 24 ++++++++++++++----- 1 file changed, 18 insertions(+), 6 deletions(-) diff --git a/config/install/core.entity_form_display.taxonomy_term.uw_vocab_service_categories.default.yml b/config/install/core.entity_form_display.taxonomy_term.uw_vocab_service_categories.default.yml index 6b9ec57..5878d5f 100644 --- a/config/install/core.entity_form_display.taxonomy_term.uw_vocab_service_categories.default.yml +++ b/config/install/core.entity_form_display.taxonomy_term.uw_vocab_service_categories.default.yml @@ -5,6 +5,8 @@ dependencies: - field.field.taxonomy_term.uw_vocab_service_categories.field_uw_service_category_icon - taxonomy.vocabulary.uw_vocab_service_categories module: + - allowed_formats + - maxlength - media_library - path - text @@ -18,16 +20,23 @@ content: weight: 1 region: content settings: - placeholder: '' rows: 5 - third_party_settings: { } + placeholder: '' + third_party_settings: + maxlength: + maxlength_js: null + maxlength_js_label: 'Content limited to @limit characters, remaining: @remaining' + maxlength_js_enforce: false + allowed_formats: + hide_help: '0' + hide_guidelines: '0' field_uw_service_category_icon: type: media_library_widget weight: 2 + region: content settings: media_types: { } third_party_settings: { } - region: content langcode: type: language_select weight: 3 @@ -42,7 +51,10 @@ content: settings: size: 60 placeholder: '' - third_party_settings: { } + third_party_settings: + maxlength: + maxlength_js: null + maxlength_js_label: 'Content limited to @limit characters, remaining: @remaining' path: type: path weight: 4 @@ -57,10 +69,10 @@ content: third_party_settings: { } status: type: boolean_checkbox - settings: - display_label: true weight: 5 region: content + settings: + display_label: true third_party_settings: { } tvi: weight: 6 -- GitLab