You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
O metodo, deveria validar o que foi digitado e exibindo o botao.
`onUpdate: function () {
this.bubble('update', this.hasChanged());
var validate = this.validate();
if(validate.valid == true && this.value() && this.value().length == 9){
jquery('body').loader('show');
var element = this;
var value = this.value();
value = value.replace('-', '');
var ajaxurl = url.build('/rest/V1/magedev-brazil-zipcode/search/' + value);`
Actual result (*)
O var validate, e' undefined , causando erro, e oculta o botao e nao executa o ajax. Paliativamente adicionei uma checagem para funcionar:
The text was updated successfully, but these errors were encountered:
Preconditions (*)
Steps to reproduce (*)
Expected result (*)
O metodo, deveria validar o que foi digitado e exibindo o botao.
`onUpdate: function () {
this.bubble('update', this.hasChanged());
var validate = this.validate();
Actual result (*)
The text was updated successfully, but these errors were encountered: