Closed demenkov closed 6 years ago
or please use $this->view->registerJs("$('#$id').parents('form').on('submit', function() { $('#$id').val($('#$id').intlTelInput('getNumber')); });");
@demenkov thanks! do we need a changelog line for your fix?
@Borales as you wish I think it breaks nothing or adding nothing, it's just keep code more clean.
@demenkov agree, thank you once again!
or please use $this->view->registerJs("$('#$id').parents('form').on('submit', function() { $('#$id').val($('#$id').intlTelInput('getNumber')); });");