I have an input element that I am using as a ComboBox, which works great:
I have it configured down in the "function" part of the page I am working on:
However, if I try to add the "placeholder" attribute to the combobox, it throws/breaks all formatting on the page. The TabStrip, the other comboboxes, date pickers --- basically the styles/classes are no longer in effect.
Here is what I change it to:
I have also tried to define this attribute in the input element itself (placeholder="Select..."), but it has no effect -- it does not appear in the combobox.
Not sure what I am doing incorrect.
Thanks!
<input id="imtSelect" name="IMT" required data-required-msg="IMT is required." data-bind="value: imt">I have it configured down in the "function" part of the page I am working on:
var imtData = [ "US", "Canada", "Federal" ];// create ComboBox for IMT...$("#imtSelect").kendoComboBox({ dataSource : imtData, index : 0});However, if I try to add the "placeholder" attribute to the combobox, it throws/breaks all formatting on the page. The TabStrip, the other comboboxes, date pickers --- basically the styles/classes are no longer in effect.
Here is what I change it to:
$("#imtSelect").kendoComboBox({ dataSource : imtData, index : 0 placeholder : "Select..."});I have also tried to define this attribute in the input element itself (placeholder="Select..."), but it has no effect -- it does not appear in the combobox.
Not sure what I am doing incorrect.
Thanks!