Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
150
Disable validation on igniteui combobox
posted

I have multiple combobox on my form and some of them are hidden. I don't want to apply validation rules on them. I have tried something like:

var validatorOptions = {};
validatorOptions.onblur = false;
validatorOptions.onchange = false;
validatorOptions.onsubmit = false;
validatorOptions.formSubmit = false;
validatorOptions.keepFocus = false;
validatorOptions.showIcon = false;
validatorOptions.required = false;


$('#my-combox-id').igCombo({
    validatorOptions: validatorOptions,
});

But it doesn't work, i still cannot post my form.

So how do i disable validation on a combobox?