I’m using vue.js in conjunction with several v4.4 jqx controls. I’m trying to avoid all the JS code to initialize the values of the controls.
The DateTimeInput control allow me to do this via a ‘value’ property:
<div id=’jqxDateTimePicker’ v-bind:value=”model.Data.Date”></div>
The jqxDateTimeInput control has a ‘selectedIndex’ property, but I cannot seem to set it the same way:
<div id=’jqxSourceDropdownList’ v-bind:selectedIndex=”model.Data.SourceIndex”></div>
Does anyone know why this does not work?
As a side note – is there any way to (generally) set the control initial values in markup? Seems like a good feature to support all these JS binding frameworks.