Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: How to set maxlength on editor. I can't find any config variable to limit character count and also Validators.maxLength(maxLength) not working #575

Open
henafufa opened this issue Aug 28, 2024 · 1 comment

Comments

@henafufa
Copy link

henafufa commented Aug 28, 2024

What happened?

I can't find any config variable to limit character count

Version

17.0.2

Angular Version

17.2.2

What browsers are you seeing the problem on?

Chrome

Link to reproduce

https://stackblitz.com/edit/ngx-editor-2fzuev?file=src%2Fapp%2Fapp.component.ts,src%2Fapp%2Fapp.component.html

Relevant log output

No response

Willing to submit a PR?

None

@henafufa henafufa changed the title [Bug]: How to set maxlength on editor. I can't find any config variable to limit character count [Bug]: How to set maxlength on editor. I can't find any config variable to limit character count and also Validators.maxLength(maxLength) not working Sep 3, 2024
@LouisAltmann
Copy link

Limiting the maximum amount of lines of the editor (like in a textarea for instance) would be quite useful for my use case as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants