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
Show, @rafaelxapa .
Desculpe a demora em retornar, mas só hoje estou mexendo justamente nas melhorias do cartão.
Acabei de implementar sua sugestão. Fiz um pouco diferente...
vendor/ricardomartins/pagseguro/view/frontend/web/js/view/payment/method-renderer/rm_pagseguro_ccmethod.js
limitdate: function(data, e) {
if($(e.currentTarget).val().length == 2) {
return false;
}
return true;
},
limityear: function(data, e) {
if($(e.currentTarget).val().length == 4) {
return false;
}
return true;
},
limitcpf: function(data, e) {
if($(e.currentTarget).val().length == 11) {
return false;
}
return true;
},
vendor/ricardomartins/pagseguro/view/frontend/web/template/payment/cc-form.html
event: {keypress: limityear}
The text was updated successfully, but these errors were encountered: