The Select2 plugin ( http://select2.imtqy.com/ ) allows you to filter <option> by its text.
How to filter data by data-attributes? Some information needs to be hidden from the user, but allow him to search for it, for example, the product barcode.
The Select2 plugin ( http://select2.imtqy.com/ ) allows you to filter <option> by its text.
How to filter data by data-attributes? Some information needs to be hidden from the user, but allow him to search for it, for example, the product barcode.
I would try to do something like this:
json
and given to the client;Source: https://ru.stackoverflow.com/questions/507731/
All Articles