Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
masuk-kazi98 committed Aug 1, 2024
1 parent 6b66a8e commit e456c27
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@ const messageTemplate = {
dateDayYear: "{{#label}} must include a day and a year",
dateDayMonth: "{{#label}} must include a day and a month",
dateYear4digits: "The year must include 4 numbers",
dateChronological: "The date that symptoms started in the {{#compLabel}} must be the same as or after the date that symptoms started in the first case",
dateChronological:
"The date that symptoms started in the {{#compLabel}} must be the same as or after the date that symptoms started in the first case",
cqc:
"Enter your CQC location ID or select 'My setting is not registered with the CQC'",
cqcRegex: "Enter a valid CQC Location ID",
Expand Down Expand Up @@ -72,8 +73,8 @@ export const messages: ValidationOptions["messages"] = {
"date.dayMonth": messageTemplate.dateDayMonth,
"date.year4digits": messageTemplate.dateYear4digits,
"date.chronological": messageTemplate.dateChronological,
"textbox.conditionalFeedback": messageTemplate.conditionalFeedback

"textbox.conditionalFeedback": messageTemplate.conditionalFeedback,
};

export const validationOptions: ValidationOptions = {
Expand Down

0 comments on commit e456c27

Please sign in to comment.