wenzhixin/multiple-select

Can't set placeholder for Single select

EvgeniyaSbitneva opened this issue · 3 comments

I've tried to set placeholder via html attribute and via js. For multiple select it works fine, but not for single.

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,