From a3e151e256dd67181c58ac7d9839cf676b43c05f Mon Sep 17 00:00:00 2001 From: Lily Yan <l26yan@uwaterloo.ca> Date: Mon, 19 Sep 2022 11:27:07 -0400 Subject: [PATCH] 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: <strong>@remaining</strong>' 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: <strong>@remaining</strong>' + 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: <strong>@remaining</strong>' 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: <strong>@remaining</strong>' 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: <strong>@remaining</strong>' 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: <strong>@remaining</strong>' + 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: <strong>@remaining</strong>' + 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: <strong>@remaining</strong>' + 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: <strong>@remaining</strong>' 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