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

DTSCCI-1440 Remove character limit for the Claim Summary and Defence Summary #5403

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
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: 1 addition & 2 deletions src/main/common/form/models/defence.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
import {IsDefined, IsNotEmpty, MaxLength} from 'class-validator';
import {IsDefined, IsNotEmpty} from 'class-validator';

export class Defence {
@IsDefined({message: 'ERRORS.DEFENCE_REQUIRED'})
@IsNotEmpty({message: 'ERRORS.DEFENCE_REQUIRED'})
@MaxLength(800, {message: 'ERRORS.TEXT800_TOO_LONG'})
text?: string;
anirudha-deshpande marked this conversation as resolved.
Show resolved Hide resolved

constructor(text?: string) {
Expand Down
1 change: 0 additions & 1 deletion src/main/modules/i18n/locales/cy.json
Original file line number Diff line number Diff line change
Expand Up @@ -5176,7 +5176,6 @@
"ADDRESS_LINE_TOO_MANY_JO": "Ni ddylai bob llinell y cyfeiriad fod yn hirach na 35 o nodau",
"TOWN_CITY_TOO_MANY": "Ni ddylai tref neu ddinas fod yn hirach na 50 o nodau",
"TOWN_CITY_TOO_MANY_JO": "Ni ddylai tref neu ddinas fod yn hirach na 35 o nodau",
"TEXT800_TOO_LONG": "Rhaid i'r rheswm fod yn 800 o nodau neu'n llai",
"THERE_IS_A_PROBLEM": "Mae yna broblem",
"THERE_WAS_A_PROBLEM": "Roedd problem",
"TRY_AGAIN": "Rhowch gynnig arall arni neu teipiwch y cyfeiriad.",
Expand Down
1 change: 0 additions & 1 deletion src/main/modules/i18n/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -5176,7 +5176,6 @@
"ADDRESS_LINE_TOO_MANY_JO": "Each address line must be no longer than 35 characters",
"TOWN_CITY_TOO_MANY": "Town or City must no longer than 50 characters",
"TOWN_CITY_TOO_MANY_JO": "Town or City must no longer than 35 characters",
"TEXT800_TOO_LONG": "Reason must be 800 characters or fewer",
"THERE_IS_A_PROBLEM": "There is a problem",
"THERE_WAS_A_PROBLEM": "There was a problem",
"TRY_AGAIN": "Try again or enter the address manually.",
Expand Down
Loading