Open mgramigna opened 7 years ago
Is there a way to watch for changes of the text typed into a searchable dropdown in addition to the value selected?
This is what I came up with. Is there a better way?
$scope.$watch(function() { return ctrl.mainForm.testDropdown.$viewValue }, function(model) { // do something with the value }, true)
Is there a way to watch for changes of the text typed into a searchable dropdown in addition to the value selected?