-
-
Notifications
You must be signed in to change notification settings - Fork 128
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ability to search by option value and label #133
Comments
Could you please explain me the reason why you need this functionality? |
You are right. Is there a way we can match non utf8 characters with ascii characters while filtering? i.e. If I look Sao Paulo it should also return the values São Paulo. |
I'll try to find an way of doing this. |
I used accent_fold method in the following project on both search string
and option label so that it converts any non English characters to English
characters.
https://github.com/aristus/accent-folding/blob/master/accent-fold.js
…On Fri, Aug 25, 2017 at 5:27 AM, Adrian Crisan ***@***.***> wrote:
I'll try to find an way of doing this.
Any suggestions are welcomed.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#133 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AQVpZwtEi7kZYQekbjQg34DCQmllLuYZks5sbpNxgaJpZM4O7maT>
.
--
Chait2
|
I would like to have as less dependencies as possible for this plugin, but I'll think of a way to solve the issue you described. |
More extensibility would be achieved if I could specify what attribute to search on. Use case: <option value="FI" data-search="Finland,Suomi">Finland</option>
<option value="GB" data-search="United Kingdom,Great Britain,England,Scottland,Wales">United Kingdom</option>
<option value="NL" data-search="Netherlands,Holland">Netherlands</option> This way if I could specify |
No description provided.
The text was updated successfully, but these errors were encountered: