Wich is the correct way to have a custom logic for checking the value of a ListInput ?
For instance i’ve an input attached to an autocomplete and i’ve to make sure that on change and blur
the value is one selected from the autocomplete; so i see two separated problem:
clearError : function (e) {
var el = this.$(e.target);
el.removeClass('input-invalid');
el.parent().parent().parent().removeClass('item-input-with-error-message item-input-invalid');
el.next('.item-input-error-message').remove();
},