beholdr / maska

Simple zero-dependency input mask for Vue, Svelte, Alpine.js and vanilla JS.

Home Page:https://beholdr.github.io/maska/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

unmasked value don't work in Nuxt 3 after build to production

Trixpua opened this issue · comments

Describe the bug

In Nuxt 3 when using in development works fine, but after build to production the unmasked value don't work. I tried with v2 and also v3, same behaviour.

Steps to reproduce

Create a simple input as in documentation, and build to production the unmasked don't work, maskedvalue works fine.

Masked value: {{ maskedvalue }}
Unmasked value: {{ unmaskedvalue }}

Confirmed, will take a look. Thanks.

@Trixpua can you please check new beta3 version? But take into account that now you need to use defineExpose for bound variable. I have updated the docs.

@Trixpua can you please check new beta3 version? But take into account that now you need to use defineExpose for bound variable. I have updated the docs.

Now it is working well. Thank you for quick response and update. And congratulations for the awesome package.