You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there a simple way to use those attributes on the angular wrapper ?
Shouldn't it be added to the component in order to be able to use them when it's calling jodit ?
Using (onChange) instead of [(ngModel)] is very heavy and I can feel the performances drop.
For now I'm using a hidden input with the proper maxlength and required attribute and a [(ngModel)] updated on the (onChange) event from the editor input.
But it's getting slow, and I couldn't find a way to disable the jodit editor yet.
There must be a better solution.
Any advice ?
The text was updated successfully, but these errors were encountered:
I don't understand why you require to implement those attributes inside Jodit.
You must be implement it on your component controller or on a class model.
In my case, I use Reactive Forms instead ngModel and those attributes (like required, disabled ... attributes) are implement there and all runs ok.
Hi @Seiifer@suhaskurade8 - [(ngModel)] is now supported in latest versions of jodit-angular
I'll take a look if it is possible to support [maxLength] als and if so will close this ticket with next update
Cheers!
Is there a simple way to use those attributes on the angular wrapper ?
Shouldn't it be added to the component in order to be able to use them when it's calling jodit ?
Using
(onChange)
instead of[(ngModel)]
is very heavy and I can feel the performances drop.For now I'm using a hidden input with the proper
maxlength
andrequired
attribute and a[(ngModel)]
updated on the(onChange)
event from the editor input.But it's getting slow, and I couldn't find a way to disable the jodit editor yet.
There must be a better solution.
Any advice ?
The text was updated successfully, but these errors were encountered: