TerryMooreII / angular-wysiwyg

An AngularJS WYSIWYG directive that multiple instances and two-way data-binding.
MIT License
121 stars 75 forks source link

Upon editing, $dirty is unchanged but $touched and $untouched are. #77

Open vijaykumar-nanikeri opened 7 years ago

vijaykumar-nanikeri commented 7 years ago

Hi Terry Morell,

I have an observation with angular validations on wysiwyg. I'm showing a message, when the editor is being emptied at any point of time with the condition (<form_name>.<editor_name>.$dirty && <form_name>.<editor_name>.$invalid) In this case $invalid is working fine but $dirty. Please suggest how could it be handled.

Thanks.