diff --git a/docs/guide.html b/docs/guide.html index 0d4d6c30..43a5d7b0 100644 --- a/docs/guide.html +++ b/docs/guide.html @@ -841,6 +841,11 @@

Enum Mask

new Date(0, i).toLocaleString(window.navigator.language, { month: 'long' }) ), + // optionally can set match function + matchValue: (estr, istr, matchFrom) => + // use case insensitive match + IMask.MaskedEnum.DEFAULTS.matchValue(estr.toLowerCase(), istr.toLowerCase(), matchFrom), + // pattern options can be set as well lazy: false }) @@ -1354,6 +1359,11 @@

Treeshaking s mask: IMask.MaskedEnum, enum: languages, + // optionally can set match function + matchValue: (estr, istr, matchFrom) => + // use case insensitive match + IMask.MaskedEnum.DEFAULTS.matchValue(estr.toLowerCase(), istr.toLowerCase(), matchFrom), + // pattern options can be set as well lazy: false }).on('accept', function() {