Using maxLength with q-editor? #8955
Unanswered
jammy-git
asked this question in
General - Components / Directives / etc
Replies: 1 comment
-
|
@jammy-git you could try to put a watch on the q-editor model and check there if the new content is too big, and if so revert the model to the old state. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I need to limit the input, either directly or via copy and paste into a q-editor.
I understand that the editor does not have a
maxlengthproperty, however q-field does. But wrapping a q-editor in a q-field and setting themaxlengthproperty does not seem to then limit the field input.Am I doing something wrong, or is it correct that this does not work? If so, is there any way to achieve this requirement?
Beta Was this translation helpful? Give feedback.
All reactions