Set char limit on rich text (#662)

* Set char limit on rich text

* richtext placeholder
This commit is contained in:
Chirag Chhatrala
2025-01-14 15:57:37 +05:30
committed by GitHub
parent 72d139e2af
commit 06c35121a0
2 changed files with 29 additions and 4 deletions

View File

@@ -552,7 +552,7 @@
@update:model-value="onFieldHelpPositionChange"
/>
<template v-if="['text', 'number', 'url', 'email'].includes(field.type)">
<template v-if="['text', 'rich_text', 'number', 'url', 'email'].includes(field.type)">
<text-input
name="max_char_limit"
native-type="number"
@@ -841,6 +841,9 @@ export default {
multi_lines: false,
max_char_limit: 2000
},
rich_text: {
max_char_limit: 2000
},
email: {
max_char_limit: 2000
},