diff --git a/src/mask-input.ts b/src/mask-input.ts index f5c6e6b..21c25ad 100644 --- a/src/mask-input.ts +++ b/src/mask-input.ts @@ -53,10 +53,15 @@ export class MaskInput { }) } - this.items.set(input, new Mask(parseInput(input, defaults))) + const mask = new Mask(parseInput(input, defaults)) + this.items.set(input, mask) if (update) { this.updateValue(input) + + if (input.selectionStart === null && mask.isEager()) { + console.warn('Maska: input of `%s` type is not supported', input.type) + } } } }