Dorpheus

Results 3 comments of Dorpheus

``` // ---- monkey patch workaround---- import {validationMixin} from 'vuelidate'; const _original_data_func = validationMixin.data; validationMixin.data = function data() { if (this.$options) { return _original_data_func.apply(this); } return {}; }; ```

``` const {required} = require('vuelidate/lib/validators'); export default { ... validations: { phone: { required, isPossibleNumber(value, vm) { return isPossibleNumber(value, vm.phoneCountry); } } } }; template: input(placeholder='Mobile Phone', v-model='phone', :v='$v.phone', type='tel',...

> Please make some sort of reproducible example. Sorry, didnt have time to do that yet. IIRC having a v-runtime-template render on the page triggered it. I would have to...