We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5e5d756 commit af1e1bfCopy full SHA for af1e1bf
src/select.js
@@ -1111,10 +1111,11 @@
1111
});
1112
$select.firstPass = true; // so the form doesn't get dirty as soon as it loads
1113
scope.$watchCollection('$select.selected', function() {
1114
- if (!$select.firstPass)
+ if (!$select.firstPass) {
1115
ngModel.$setViewValue(Date.now()); //Set timestamp as a unique string to force changes
1116
- else
+ } else {
1117
$select.firstPass = false;
1118
+ }
1119
1120
focusser.prop('disabled', true); //Focusser isn't needed if multiple
1121
}else{
0 commit comments