I am trying to add placeholder to combobox from here

This is what I tried but I am unable to see placeholder in combobox. Any suggestions please.

$("#SelectedGroup").attr("placeholder", "Your Text Here");
有帮助吗?

解决方案

Use .custom-combobox-input selector

$('.custom-combobox-input').attr("placeholder", "Your Text Here"); 

working example here jsfiddle

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top