UI selects form property "touched" not set on first interaction

I am trying to test multiple ui-select using ng-messages and angular 1.3 . The property is $touched

not set on the first interaction, i.e. Click inside the selection and then click on it. However, this works for the textarea element.

Including plnk . Can anyone tell what is wrong here? TIA.

+3


source to share


1 answer


It seems like this is just a bug in 1.3, as 1.4.7 behaves as you'd expect. The ng-touched and ng-untouched classes in the input field update correctly, so this might be a workaround in some cases.



+1


source







All Articles