Skip to content

Commit

Permalink
setting length limts on all input fields (#1591)
Browse files Browse the repository at this point in the history
Co-authored-by: usingtechnology <[email protected]>
  • Loading branch information
revanth-banala and usingtechnology authored Jan 28, 2025
1 parent 52b9723 commit dd157a8
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions app/frontend/src/components/forms/manage/EmailTemplate.vue
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,8 @@ defineExpose({ saveEmailTemplate });
:label="$t('trans.emailTemplate.subject')"
:lang="locale"
:rules="subjectRules"
:maxlength="255"
counter
@update:model-value="formChanged = true"
/>
<v-text-field
Expand All @@ -89,6 +91,8 @@ defineExpose({ saveEmailTemplate });
:label="$t('trans.emailTemplate.title')"
:lang="locale"
:rules="titleRules"
:maxlength="255"
counter
@update:model-value="formChanged = true"
/>
<v-textarea
Expand All @@ -101,6 +105,8 @@ defineExpose({ saveEmailTemplate });
:label="$t('trans.emailTemplate.body')"
:lang="locale"
:rules="bodyRules"
:maxlength="4096"
counter
@update:model-value="formChanged = true"
/>
<v-btn
Expand Down

0 comments on commit dd157a8

Please sign in to comment.