mirror of
https://github.com/zhigang1992/angular.js.git
synced 2026-04-09 22:39:39 +08:00
Use the viewValue rather than modelValue when validating. The viewValue should always be a string, and should reflect what the user has entered, or the formatted model value. BREAKING CHANGE: Always uses the viewValue when validating minlength and maxlength. Closes #7967 Closes #8811