Hello,
Anyone come across this issue where the combobox widget does not display the selected item when using JQuery.val to set selected value.
Steps to reproduce:
- Go to to the demo page: http://demos.kendoui.com/web/combobox/index.html
- Open the Firebug console or similar.
- Enter the following:
$('#select').data('kendoComboBox').value() --> outputs the current value: 'X-Small'
$('#select').val() --> Also outputs the same
$('#select').val('Small')
- Notice that the widget still displays 'X-Small', but both $('#select').data('kendoComboBox').value() and $('#select').val() return 'Small'
Thanks.
Anyone come across this issue where the combobox widget does not display the selected item when using JQuery.val to set selected value.
Steps to reproduce:
- Go to to the demo page: http://demos.kendoui.com/web/combobox/index.html
- Open the Firebug console or similar.
- Enter the following:
$('#select').data('kendoComboBox').value() --> outputs the current value: 'X-Small'
$('#select').val() --> Also outputs the same
$('#select').val('Small')
- Notice that the widget still displays 'X-Small', but both $('#select').data('kendoComboBox').value() and $('#select').val() return 'Small'
Thanks.