Closed Robo-Rin closed 1 year ago
Vue 3 upgrade gives errors due to the deprecated Vue.filter. This PR fixes this issue by removing the filter altogether. As mentioned by Ronald further down we can use the already exported masker directly instead.
Vue.filter
masker
For example:
<template> <div> {{ masker('1234', '###-#').masked }} </div> </template> <script> import { masker } from 'vue-input-facade' export default { setup() { return { masker } } } </script>
Note: Not marking this as a breaking change as the existing beta branch was already broken for Vue 3.
:tada: This PR is included in version 3.0.0-beta.3 :tada:
The release is available on:
Your semantic-release bot :package::rocket:
Description
Vue 3 upgrade gives errors due to the deprecated
Vue.filter
. This PR fixes this issue by removing the filter altogether. As mentioned by Ronald further down we can use the already exportedmasker
directly instead.For example:
Note: Not marking this as a breaking change as the existing beta branch was already broken for Vue 3.
Checklist