angular-froala icon indicating copy to clipboard operation
angular-froala copied to clipboard

ng-required option with ng-model is not working correctly

Open tajinderjit13 opened this issue 5 years ago • 2 comments

When using ng-required or required attribute on textarea the modelValue is set to undefined. This is happening mainly because the $isEmpty function is always returning true. https://github.com/froala/angular-froala/blob/master/src/angular-froala.js#L97

tajinderjit13 avatar Sep 05 '19 22:09 tajinderjit13

Pull Request for the above fix https://github.com/froala/angular-froala/pull/216 @navneetnagpal @stefanneculai

tajinderjit13 avatar Sep 05 '19 22:09 tajinderjit13

@navneetnagpal

Seems like you should merge this since it has gone 3 months and the PR is a straight forward oneliner that fixes one of the many issues with this library.

robinwassen avatar Dec 05 '19 14:12 robinwassen