I am having issues getting the validation for an igCombo to work. I am using knockout to bind my data. The data binds find and I click on the "x" icon to clear the data but when i try to call validation on the field I am getting an error. Usually I use the below code however I am getting an error about the validator not being initialized.
var itemValid = isNaN($('#Headquarters_State2').igValidator('validate'));
<span id="Headquarters_State2" data-bind="igCombo: { text: State, dataSource: States, textKey: 'Abbreviation', valueKey: 'StateCode', enableSelectionChangedUpdate: true, width: '200', mode: 'dropdown', width: 70, validatorOptions: { required: true } }"></span>
Hi, Mike.
You can try to explicitely request the igValidator, while configuring the igLoader. If this doesn't help you, we will investigate the problem further. The followig code worked for me:
$.ig.loader({ scriptPath: "js/", cssPath: "css/", resources: "igCombo,igValidator,extensions/infragistics.ui.combo.knockout-extensions.js" });
Best regards,
Nikolay Alipiev
I want to ask you if my solution helped you to resolve the case. If you need further assistance don't hesitate to ask me.
Thanks again for using our product.
Best regards, Nikolay Alipiev
My version is 10.0.9200.16576
Hello Mike,
At the moment, I am not able to reproduce the behavior using IE10.
It is possible that we using a different specific version of IE20. Please let me know the specific version of IE10 you are using.
if you have any questions, please let me know as well.
I have tried this in Chrome 27 and IE 10
Please let me know the browser(s) you are using.
I am still getting the error about the validator not being initialized