Is it possible to search on a combination of the text and another attribute in select2? For example, can the user search on both the value of "data-test" and text below:
<option value="185" data-test="5">Test</option>
<option value="186" data-test="6">Test 2</option>
<option value="187" data-test="7">Test 3</option>
Such that searching for "Test 2" and "6" show the same single option?
This is on a list bound at the page load, so it can't be filtered elsewhere.
Thanks -