-
Beta Was this translation helpful? Give feedback.
Answered by
sibiraj-s
Jul 18, 2023
Replies: 4 comments 2 replies
-
I get it right |
Beta Was this translation helpful? Give feedback.
1 reply
-
Hi Sibraj
I hope all is well with you
How to set maxlength on editor. I can't find any config variable to limit
character count
…On Tue, Jul 18, 2023 at 2:08 PM Sibiraj ***@***.***> wrote:
Glad you got it fixed.
Just as a note.
The editor and editor-menu are two different components its upto you how
do you apply styles on them, align them, place them. etc.
—
Reply to this email directly, view it on GitHub
<#486 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AI7TSJN6FJ3ILZFXDSS3ZHLXQZVD3ANCNFSM6AAAAAA2OD3XCA>
.
You are receiving this because you modified the open/close state.Message
ID: ***@***.***
com>
|
Beta Was this translation helpful? Give feedback.
1 reply
-
I have tried that, Validators.maxLength(maxLength) doesn't actually work I
did provide my code
<form [formGroup]="form">
<ngx-editor
class="w-full"
[editor]="editor"
formControlName="editorContent"
[placeholder]="'Add notes here...'"
</ngx-editor>
</form>
form = new FormGroup({
editorContent: new FormControl(null, [Validators.required(), Validators.
maxLength(500)]),
});
…On Sun, Sep 1, 2024 at 9:18 AM Sibiraj ***@***.***> wrote:
See
https://sibiraj-s.github.io/ngx-editor/examples/reactive-forms/#validators
—
Reply to this email directly, view it on GitHub
<#486 (reply in thread)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AI7TSJLYDB7OCN2HSV2QPUTZUKWTLAVCNFSM6AAAAABNH2BBB6VHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTANJRGAZTQMQ>
.
You are receiving this because you modified the open/close state.Message
ID: ***@***.***
com>
|
Beta Was this translation helpful? Give feedback.
0 replies
-
… On Tue, Sep 3, 2024 at 1:54 PM Hena f ***@***.***> wrote:
I have tried that, Validators.maxLength(maxLength) doesn't actually work I
did provide my code
<form [formGroup]="form">
<ngx-editor
class="w-full"
[editor]="editor"
formControlName="editorContent"
[placeholder]="'Add notes here...'"
>
</ngx-editor>
</form>
form = new FormGroup({
editorContent: new FormControl(null, [Validators.required(), Validators.
maxLength(500)]),
});
On Sun, Sep 1, 2024 at 9:18 AM Sibiraj ***@***.***> wrote:
> See
> https://sibiraj-s.github.io/ngx-editor/examples/reactive-forms/#validators
>
> —
> Reply to this email directly, view it on GitHub
> <#486 (reply in thread)>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/AI7TSJLYDB7OCN2HSV2QPUTZUKWTLAVCNFSM6AAAAABNH2BBB6VHI2DSMVQWIX3LMV43URDJONRXK43TNFXW4Q3PNVWWK3TUHMYTANJRGAZTQMQ>
> .
> You are receiving this because you modified the open/close state.Message
> ID: ***@***.***
> com>
>
|
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
Glad you got it fixed.
Just as a note.
The editor and editor-menu are two different components its upto you how do you apply styles on them, align them, place them. etc.