Commit c68b50c0 authored by Randall Leeds's avatar Randall Leeds

``form-input`` should not render inputs on change

Fix #1490
parent dab18b67
...@@ -33,7 +33,7 @@ formInput = -> ...@@ -33,7 +33,7 @@ formInput = ->
scope.$watch -> scope.$watch ->
if model.$modelValue? or model.$pristine if model.$modelValue? or model.$pristine
model.$render() toggleClass(model.$invalid and model.$dirty)
return return
require: ['^?form', '?ngModel', '^?formValidate'] require: ['^?form', '?ngModel', '^?formValidate']
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment