Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VACMS-18170: benefit description fields minimum character limits #19598

Draft
wants to merge 6 commits into
base: main
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -526,7 +526,8 @@
"3341971 - Drag & drop addition adds meaningless numbers to table data, could break integrating code": "patches/3341971-tablefield-disable-drag-drop-controls.patch"
},
"drupal/textfield_counter": {
"3380997 - Textarea with summary and counter doesn't respect count only setting": "patches/3380997-fix-textfield-counter-respect-count-only-mode.patch"
"3380997 - Textarea with summary and counter doesn't respect count only setting": "patches/3380997-fix-textfield-counter-respect-count-only-mode.patch",
"3263433 - Add option for minimum length of textarea/textfield" : "patches/3341971-benefit-description-fields-minimum-character-limits.patch"
},
"drupal/token": {
"3047568 - Consistent tokens support across all entities and fields": "patches/3047568-token-consistent-entity-and-field-support.patch"
Expand Down
4 changes: 4 additions & 0 deletions composer.lock
Original file line number Diff line number Diff line change
Expand Up @@ -14340,6 +14340,10 @@
"name": "jec006",
"homepage": "https://www.drupal.org/user/855980"
},
{
"name": "mably",
"homepage": "https://www.drupal.org/user/3375160"
},
{
"name": "plopesc",
"homepage": "https://www.drupal.org/user/282415"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -219,6 +219,7 @@ content:
count_only_mode: false
count_html_characters: false
textcount_status_message: '<span class="remaining_count">@remaining_count</span> characters remaining'
minlength: 0
third_party_settings: { }
field_va_benefit_app_form:
type: entity_reference_autocomplete
Expand Down Expand Up @@ -269,6 +270,7 @@ content:
count_only_mode: false
count_html_characters: false
textcount_status_message: '<span class="remaining_count">@remaining_count</span> characters remaining'
minlength: '301'
third_party_settings:
allowed_formats:
hide_help: '0'
Expand Down Expand Up @@ -316,13 +318,23 @@ content:
change_labels:
add_another: 'Add another link'
field_va_benefit_long_summary:
type: text_textarea
type: text_textarea_with_counter
weight: 10
region: content
settings:
rows: 5
placeholder: ''
third_party_settings: { }
maxlength: null
counter_position: after
js_prevent_submit: true
count_only_mode: false
count_html_characters: true
textcount_status_message: 'Maxlength: <span class="maxlength_count">@maxlength</span><br />Used: <span class="current_count">@current_length</span><br />Remaining: <span class="remaining_count">@remaining_count</span>Minlength: <span class="minlength_count">@minlength</span><br />Used: <span class="current_count">@current_length</span><br />Remaining: <span class="remaining_count">@remaining_count</span>'
minlength: '501'
third_party_settings:
allowed_formats:
hide_help: '0'
hide_guidelines: '0'
field_va_benefit_plain_name:
type: string_textfield
weight: 6
Expand Down Expand Up @@ -358,10 +370,11 @@ content:
placeholder: ''
maxlength: 300
counter_position: after
js_prevent_submit: false
js_prevent_submit: true
count_only_mode: false
count_html_characters: false
textcount_status_message: '<span class="remaining_count">@remaining_count</span> characters remaining'
minlength: '20'
third_party_settings: { }
field_va_benefits_elig_intro:
type: text_textarea
Expand Down Expand Up @@ -391,6 +404,7 @@ content:
count_only_mode: false
count_html_characters: false
textcount_status_message: '<span class="remaining_count">@remaining_count</span> characters remaining'
minlength: 0
third_party_settings: { }
hidden:
description: true
Expand Down
Loading
Loading