Can't set placeholder for Single select
EvgeniyaSbitneva opened this issue · 3 comments
EvgeniyaSbitneva commented
I've tried to set placeholder via html attribute and via js. For multiple select it works fine, but not for single.
wenzhixin commented
I use the showClear
option and it working well: https://multiple-select-live.wenzhixin.net.cn/code/wenzhixin/15702
n0xx commented
Unfortunately it does not work on single select.
//edit
But u can make it work by setting select as multiple and in options do:
single: true,
filter: false,
wenzhixin commented
https://multiple-select-live.wenzhixin.net.cn/code/wenzhixin/16908
Can you provide an example?