@maskito/angular
Documentation • Submit an Issue • Contact Us
The Angular-specific library.
It provides a convenient way to use Maskito as a directive.
How to install
npm i @maskito/{core,angular}
The Angular-specific Maskito's library
Documentation • Submit an Issue • Contact Us
The Angular-specific library.
It provides a convenient way to use Maskito as a directive.
npm i @maskito/{core,angular}
MaskitoPattern
directive (#2081)
(c3f7142)<input />
with maxlength
attribute (#2090)
(e20e50b)Number
should support non-erasable minus (as prefix
) for max <= 0
(#2087)
(3910914)maskitoParseDateTime
& maskitoStringifyDateTime
utilities (#2074)
(6aa34aa)maskitoParseDateTime
and maskitoStringifyDateTime
helpers (#2055)
(5028084)selection
property in processors (#2053)
(de354f4)Number
supports new properties minimumFractionDigits
& maximumFractionDigits
(#2022)
(8719b9e)Time
supports MM:SS
mode (#2008)
(b93ad1e)maskitoParseDate
should return null
for incompleted date string (#2009)
(9eec35b)maskitoStringifyNumber
helper (#1987)
(cbfd4bc)Phone
should accept incomplete phone number of selected country (even with strict=true
) (#1982)
(965d735)maskitoParseDate
and maskitoStringifyDate
helpers (#1973)
(208a4ab)Date
supports dd/mm
and mm/dd
modes (#1939)
(bc290af)SelectionChangeHandler
does not work for Safari after programmatic update of textfield value (#1930)
(34c11d0)Number
should ignore [decimalSeparator]
value if [precision]=0
(#1908)
(19effe2)Number
+ postfix (with leading space) adds unnecessary spaces on paste value with trailing spaces (#1865)
(c37b1d6)DateRange
should accept single character date segment paste even if date and range separators are equal
(#1796) (be6a4c3)maskitoSelectionChangeHandler
plugin (#1794)
(c6e9a4d)Time
& DateTime
has conflicts between step
& AM/PM
features (#1791)
(805f70b)Number
incorrectly shift caret for 1st time insertion into textfield with initial value (#1792)
(0049d91)Number
fails to prevent user insertion of extra spaces on invalid positions (#1789)
(a40445c)DateTime
fails to process value without any separators (paste from clipboard) (#1779)
(1733422)Time
& DateTime
support AM
/ PM
formats (#1708)
(98ce35e)Time
mask (#1688)
(8c608b8)overwriteMode: replace
has incorrect behavior on attempt to insert invalid characters (#1772)
(5aeb074)[maskitoOptions]
are changed before long element predicate is resolved (#1696)
(9f9bad3)Time
has invalid segment separator for MM:SS.MSS
mode (#1687)
(93972be)overwriteMode = replace
if selection contains several characters (#1685)
(67c3c10)options
are changed before long element predicate is resolved (#1651)
(f2932ce)Time
with [step]
has unexpected cursor jump to the next segment on ArrowUp
/ArrowDown
(#1478)
(59a5927)maskitoStringifyTime
was adding 0
on the wrong side
(#1401)
(b28ee12)Placeholder
should support partial programmatic removal of placeholder's characters
(#1441)
(146a557)Time
incorrectly validates value if timeSegmentMaxValues
includes single digit
(#1402)
(26670f4)phone: remove built-in RemoveOnBlur
/ AddOnFocus
plugins from @maskito/phone
(#1352)
Learn more: https://maskito.dev/addons/phone#focus-blur
angular: bump minimum required Angular version (15+ => 16+) (#1328)
angular: delete deprecated MaskitoModule
& MaskitoCVA
(#1391)
core: new built-in maskitoChangeEventPlugin
(#1338)
Learn more: https://maskito.dev/core-concepts/plugins#change-event
Date
, DateRange
, DateTime
supports multi-character date segments separator
(#1306)
(cdf2fae)Placeholder
(#1307)
(87ae431)Time
& DateTime
support increment / decrement of time segment via ArrowUp
/ ArrowDown
(#1223)
(af961b8)Time
supports SS.MSS
& MM.SS.MSS
modes (#1224)
(7bed4bc).select()
-method support for MaskitoElement
(#1268)
(51f5934)Number
should support float min
/max
-parameters in range -1 < x < 1
(#1280)
(b44013e)Number
pads integer part with zero if user selects all and then types decimal separator
(#1220)
(8371e45)libphonenumber-js
peer-dependency to just >=1.0.0
(#1234)
(27ee4a1)react
& react-demo
peer-dependencies to just >=16.8
(#1231)
(ae89d6f)vue
peer-dependency to just >=3.0.0
(#1232)
(22d84e2)Number
should drop decimal separator if all digits are erased
(#1211)
(5836c96)Number
with decimalZeroPadding=true
should erase everything on .00
(#1207)
(d72f225)Placeholder
can have now the same character as textfield's value
(#1209)
(ed06936)contenteditable
support (#1039)
(0d5bb31)DateTime
supports configurable parameter dateTimeSeparator
(#1143)
(ec86284)Maskito
if nullable options are passed inside @maskito/{angular,react,vue}
(#1117)
(8cbadcf)Date
& DateRange
& DateTime
has improved zero-padding support for browser autofill & IME composition
(#1027)
(77ac01c)Time
, Date
, DateTime
, DateRange
(#1043)
(434c9c5)maskitoParseNumber
should interpret japanese prolonged sound mark as pseudo minus
(#1115)
(b152698)Number
with initial value has problems with the first time input
(#986)
(e40d3ff)@maskito/react
includes again missing cjs
module format
(#991)
(18e3e0c)maskitoUpdateElement
should not dispatch InputEvent
if value is not changed
(#977)
(2410b64)setSelectionRange
if element is not focused
(#937)
(92f288b)Number
rejects the first time input of full width digits
(#955)
(c416884)@maskito/react
library should not include core-js
imports
(#962)
(3b7e401)MaskitoElementPredicate
& MaskitoElementPredicateAsync
into single type
(#757)maskitoInitialCalibrationPlugin
(#778)Firefox
(#756)separator
for DateRange
(use dateSeparator
instead)
(#790)MaskitoModule
(use standalone MaskitoDirective
, MaskitoCVA
, MaskitoPipe
)
(#754)maskitoStrictCompositionPlugin
(#881)Number
allows to enter full width numbers (#864)Input
-event (#882){bubbles:true}
for input
events inside all built-in plugins to support ReactSyntheticEvent
(#806)Number
has problems when prefix/postfix includes decimalSeparator
symbol
(#874)
(#816)
(#921)Placeholder
is not compatible with maskitoEventHandler
+ focus
/blur
events
(#928)Number
has broken zero padding when decimalSeparator
equals to non-default value
(#586)
(7241761)New @maskito/phone
library (#425)
(#482)
Learn more: https://maskito.dev/addons/phone
Number
should accept all types of spaces as interchangeable characters for thousandSeparator
(#505)
(73975bb)maskitoCaretGuard
doesn't work after focus on <select />
(#462)
(9f456da)Number
should drop items from decimalPseudoSeparators
if any is equal to thousandSeparator
(#390)
(2107adc)Date
& DateRange
support new modes yyyy
, mm/yyyy
, yyyy/mm
(#384)
(7886d50)Time
supports new mode HH
(#385)
(3c7a3f6)maskitoCaretGuard
should wait for mouseup
before execution
(#372)
(8554fea)Number
should remove repeated leading zeroes for integer part only on blur
-event
(#373)
(7cf4938)Number
with postfix
should be compatible with decimalZeroPadding
(#364)
(501cf9c)Prefix
/Postfix
is incompatible if they end/start with the same character
(#366)
(06afbcb)maskitoCaretGuard
's function has the 2nd argument with current selection range
(#358)
(eedc4d6)maskitoCaretGuard
incorrectly validates the left side of constraints
(#356)
(17ee90f)Number
should skip min/max validation if value does not contain any digits
(#359)
(ed8221e)maxlength
(#350)
(8504f49)Number
should ignore new typed decimal separator if it already exists in text field
(#351)
(4ccfdc8)maskitoEventHandler
accepts AddEventListenerOptions
as the 3d optional argument
(#346)
(1d5866e)focus
/blur
events in plugins
(#347)
(ef539e1)preprocessor
& postprocessor
from MaskitoOptions
(#337)
(0b6aad2)isNegativeAllowed
parameter from Number
mask
(#338)
(9fd3005)preprocessors
& postprocessors
and deprecate preprocessor
& postprocessor
(#333)
(0137775)maskitoParseNumber
should return NaN
for all strings with no digits
(#331)
(d1ebcec)Number
incorrectly implements min
/max
behaviour
(#334)
(9876d88)[maskitoElement]
can accept asynchronous predicate
(#316)
(3d8949e)Number
pads empty integer part with zero on blur (if decimal part exists)
(#328)
(bd01967)Undo
and Redo
(#320)
(4c5a7f6)DateTime
validate min / max if date is complete
(#314)
(5783e76)Time
& DateTime
should accept time segment separator typed by user
(#317)
(3bcac7f)plugins
to MaskitoOptions
(#305)
(b512ae2)MaskitoMask
, MaskitoPreprocessor
, MaskitoPostprocessor
and MaskitoPlugin
(#307)
(9315a9f)maskitoWithPlaceholder
utility (#299)
(21eb69c)insertFromDrop
action behaves now in the same way as insertFromPaste
(#291)
(58e0fcc)Time
doesn't validate time segments on drop
event
(#289)
(0c6d1b9)Number
keeps untouched decimal part if precision: Infinity
(#253)
(261779e)Number
supports new prefix
& postfix
parameters
(#264)
(6e78581)maskitoPostfixPostprocessorGenerator
(#257)
(fdc86db)Number
fails to trim leading zeroes after deleting of leading digit
(#268)
(4ae0010)Number
should trim redundant thousand separators
(#267)
(100b793)Class constructor DefaultValueAccessor cannot be invoked without 'new'
(#232)
(5089612)@maskito/angular
should not depend on @maskito/kit
(#221)
(0ae7b20)npm i @maskito/angular
throws unable to resolve dependency tree
(#220)
(8b4d6e6)@nrwl/angular:package
executor instead of @nrwl/angular:ng-packagr-lite
(#216)
(164d015)Number
broken Delete
-button navigation if decimalZeroPadding=true
(#211)
(1b750d1)deleteSoftLineBackward
& deleteSoftLineForward
support
(#207)
(cbd5479)Date
-related masks
(#197)
(c85ca23)Maskito
losses valid characters on invalid insertion (overwriteMode: replace
)
(#208)
(ef183b4)Number
should drop leading zeroes for negative numbers
(#204)
(6e9adf7)deleteWordBackward
& deleteWordForward
support
(#193)
(24b761c)Drop
(#185)
(c7f6a1b)maskitoParseNumber
incorrectly parses negative numbers
(#190)
(d713bd1)Number
should drop decimal part on paste from clipboard if precision=0
(#195)
(ba85c38)maskitoTransform(value, maskitoOptions)
(#177)
(20316f1)maskitoParseNumber
(#178)
(fc58141)Module parse failed: 'import' and 'export' may appear only with 'sourceType: module'
(#131)
(41e05c0)This release introduces the first publishing of the following packages:
@maskito/core
beforeinput
and input
events to validate and calibrate textfield's value. @maskito/kit
@maskito/angular