I took the https://github.com/ankurk91/vue-flatpickr-component component as a basis, but there it’s impossible to add a mask to the mask I’m using this https://www.npmjs.com/package/v-mask , and I decided to take the date component and try to add a mask. The component appeared and the data-mask tag appeared, but it is not processed, there you can enter anything. In the example with a sandbox, it is incorrectly displayed there, but all the code can be seen as I implemented it https://codesandbox.io/embed/k2jn4jox7o?fontsize=14
render(el) { return el("input", { attrs: { type: "text", "data-input": true }, directives: [ { name: "mask", value: "##.##.####" } ], props: { disabled: this.disabled }, on: { input: this.onInput } }); },