I was having trouble resetting the ui-select directive current selected value when resetting the form.
So here’s the solution. Add this directive to it and it will reset automatically.
Angular:
1 | var app = angular.module('home', []) |
HTML:
1 | <div class="form-group"> |
To reset the value, just set $s.toggleSearch = “”;
Hope this helps you out.