Posted 12 March 2019, 4:24 pm EST
Hi grapecity,
I’ve got a combobox which contains a list of years in its dropdown. When a user initially visits the page, I’d like the combobox to display blank (display nothing). But currently, it’s automatically displaying the first ‘year’ in my list.
I’ve tried the [headerPath] and placeholder properties on this element to no avail.
The behavior I want: have combobox display blank until a value is selected from its dropdown. Then it’s okay to display the year you have selected. On revisit of the page, the comboBox should again display blank.
Our code:
<wj-combo-box
#m_comboBox
[isEditable]="false"
[itemsSource]="m_aryComboBoxItemSource"
[displayMemberPath]="'myYear'"
[selectedValuePath]="'myYear'"
(initialized)="initComboBox($event, m_comboBox)"
style="width:300px"
>
</wj-combo-box>
