From 105d26523c3a68f7f758579536a5236ff4351ab6 Mon Sep 17 00:00:00 2001 From: Alexander Shabunevich Date: Fri, 9 Dec 2022 13:36:09 +0300 Subject: [PATCH] Docs updated --- docs/README.md | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/docs/README.md b/docs/README.md index 23b233d..d1d0aa0 100644 --- a/docs/README.md +++ b/docs/README.md @@ -202,9 +202,6 @@ export default { ``` -!> Don’t use `v-model` on masked input: it possible will be buggy, -because its value is taken from the input event instead of the input value. - #### Global registration of directive @@ -244,10 +241,10 @@ Options passed on init will be used as defaults and could be overriden by `data- ### **Description** -- `mask` / `data-maska` — mask to apply (**string**, **array of strings** or **function**) +- `mask` / `data-maska` — mask to apply (**string**, **array of strings** or **function**). If you pass empty string or `null` it will disable a mask - `tokens` / `data-maska-tokens` — custom tokens object - `tokensReplace` / `data-maska-tokens-replace` — if custom tokens should replace default tokens (if not set they will merge) -- `eager` / `data-maska-eager` — eager mode +- `eager` / `data-maska-eager` — eager mode, e.g. with eager mask `#-#` you will get `1-` when you input `1` (in non-eager mode mask will be equal `1`) - `reversed` / `data-maska-reversed` — reversed mode ### **Types**