The $$ parseAndValidate () function has such a check.
if (isNumber(ctrl.$modelValue) && isNaN(ctrl.$modelValue)) { // ctrl.$modelValue has not been touched yet... ctrl.$modelValue = ngModelGet($scope); } When does the condition work? What is this strange check?
GiHub source code
$$parseAndValidate()function? Where is this code torn from? Which of the three operations produced in the code is incomprehensible? - Grundyifwill work when the value isNaN- Grundy