问题
To view the code base for problem statement, Kindly CLICK HERE
as I set select
with id='firmName'
with multiple
attribute, I am unable to see the text when I type to find specific firm.
Below is the image to support my question.
I type "ajinkyatara" in search box but unable to see it the text.
How to show the search text string when select2 is in multiple
selection mode.
回答1:
I found out this post and its sad that it has nothing selected as a solution, as de OP mentioned in a comment this is caused by the color of text being white, you can solve this by aplying this custom css, hope it can help anyone.
<style type="text/css">
.select2-search__field {color: black;}
</style>
来源:https://stackoverflow.com/questions/46469831/search-text-not-displayed-when-select2-changed-to-multiple-selection-mode