Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
2.0.0 (2024-01-22)
⚠ BREAKING CHANGES
MaskitoElementPredicate
&MaskitoElementPredicateAsync
into single type (#757)Before:
After:
maskitoInitialCalibrationPlugin
(#778)Before: execution of
new Maskito(element, options)
immediately invokes sync mask calibration.After: no initial calibration. Maskito calibrates textfield's value only on user's interactions. Developer can enable previous behaviour by using
maskitoInitialCalibrationPlugin
.Why: The previous implementation is not so flexible as required. Sometimes the such initial calibration is not required for developer, and developer wants calibration to work only on user's interactions. The new way allows to select: use
maskitoInitialCalibrationPlugin
or not.Learn more: https://maskito.dev/core-concepts/plugins#initial-calibration
Firefox
(#756)separator
forDateRange
(usedateSeparator
instead) (#790)Before:
After:
MaskitoModule
(use standaloneMaskitoDirective
,MaskitoCVA
,MaskitoPipe
) (#754)🚀 More features
maskitoStrictCompositionPlugin
(#881)Number
allows to enter full width numbers (#864)🐛 Bug Fixes
Input
-event (#882){bubbles:true}
forinput
events inside all built-in plugins to supportReactSyntheticEvent
(#806)Number
has problems when prefix/postfix includesdecimalSeparator
symbol (#874) (#816) (#921)Placeholder
is not compatible withmaskitoEventHandler
+focus
/blur
events (#928)