Closed colinrippey closed 8 years ago
Line 110:
userModel = ngModel[0].$modelValue;
This line will set userModel to null if the control has no value.
Line 118:
for(var b = 0; b < userModel.length; b++){
This line will throw a null reference exception as userModel is null.
Just updated the directive. It handles empty models now.
Line 110:
This line will set userModel to null if the control has no value.
Line 118:
This line will throw a null reference exception as userModel is null.