Topic: WYSIWYG Editor - Angular
How should I use this component in a form? I have it working with value valueChanges currently, but would like to also be able to set the value programmatically.
Is there a way to use ngmodel or formControlName with the component?
UPDATE I have it working now with formControlName, but doing this.form.reset() does not set the value to empty, as would likely be the intention.
UPDATE 2 Using this.form.get('controlName').setValue('') does not clear it either, rather you have to at least set it to a 1 char long string. I am currently setting it to a space as a workaround, but this should probably be fixed and documented.
I fixed bug with set empty string value for component.
Is there anything I can do for you?
- User: Pro
- Premium support: Yes
- Technology: Angular
- MDB Version: 8.8.0
- Device: Desktop
- Browser: Chrome
- OS: Win10
- Provided sample code: No
- Provided link: No