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>
Hello Mike Davis,
Thank you for contacting Infragistics!
Attached is a sample using the specifications you have mentioned as follows:
jQuery 1.9.1
jQuery-ui 1.10.2
IgniteUI 13.1 latest version.
If you have any questions, please let me know as well.
This is an old version of jquery with an old version of Ignite UI. I can't get this to work with the latest versions of jQuery, jQuery UI and Ignite UI (1.9.1, 1.10.2, 2013 v1 respectably)
Hello jbolan,
Please let me know if you have any questions.
Hi, Mike and Jbolan.
Thank you for your patience and I will need your assitance in order to resolve this issue.
As I wrote in my previous post, by requesting explicitely the igValidator scripts, I fixed this problem with the validation. But it seems that it is not resolved for you that's why I will need more information from you - errors or screenshots or a sample - if you have one. Meanwhile you can look and check the attached sample, because loacally it works for me. I will wait for your feedback.
Best regards,
Nikolay Alipiev
No, this did not help. I had opened up a support request and they are helping me. Thanks