Skip to content

Commit

Permalink
Survey BB: increase maxLength
Browse files Browse the repository at this point in the history
  • Loading branch information
tordans committed Nov 6, 2024
1 parent 312e4e5 commit 134702c
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ export const FeedbackSecondPage: React.FC<Props> = ({
<SurveyLabeledTextareaField
caption={userTextQuestionProps.caption?.de}
key={q.id}
maxLength={2000}
maxLength={userTextQuestionProps.maxLength ?? 2000}
name={`text-${q.id}`}
placeholder={userTextQuestionProps.placeholder?.de}
label={""}
Expand Down
3 changes: 2 additions & 1 deletion src/survey-public/radnetz-brandenburg/data/feedback.ts
Original file line number Diff line number Diff line change
Expand Up @@ -242,7 +242,8 @@ export const feedbackDefinition: TFeedback = {
component: "text",
props: {
placeholder: { de: "Beantworten Sie hier..." },
caption: { de: "max. 2000 Zeichen" },
caption: { de: "max. 5000 Zeichen" },
maxLength: 5000,
},
},
],
Expand Down
4 changes: 2 additions & 2 deletions src/survey-public/radnetz-brandenburg/data/survey.ts
Original file line number Diff line number Diff line change
Expand Up @@ -120,8 +120,8 @@ export const surveyDefinition: TSurvey = {
},
component: "text",
props: {
caption: { de: "max. 1000 Zeichen" },
maxLength: 1000,
caption: { de: "max. 5000 Zeichen" },
maxLength: 5000,
},
},
],
Expand Down

0 comments on commit 134702c

Please sign in to comment.