Closed jjerrythimothy closed 7 years ago
I'd take a look at the $scope.updateFilter
function. You could do your required manipulation there.
Hi @jjerrythimothy
This is a valid challenge, and rather useful indeed. However, unfortunately I have no experience nor usage of such international characters.
Tim is correct, $scope.updateFilter handles the filtering process. You can put some logic to process or "translate" those characters.
Just remember to do so as early as possible (for example, do it BEFORE the $scope.updateFilter is called). This can save some processing power.
Hi @isteven @tim-lukacik
That is a bower component and I do not have control over it in the live environment. npm just imports from github during deployment.
I have tried many ways to override the function through angular directive inheritance but not successful because the multi-select is the child directive.
Is there any way possible to block the $scope.updateFilter from running? so that I could use my manipulation in on-search-change.
I have a requirement:
Consider there are 3 names:
When I type Pérez in the search input box, I need to list down:
OR
If I try to manipulate the search using javascript, I need to know whether there is an ability to override my search results with my result.
Thanks in advance... :)