Question

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");
Was it helpful?

Solution

Use .custom-combobox-input selector

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

working example here jsfiddle

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top