- Provide an ability to use 'isRevealingMask' and 'placeholderFixed'
- Fix for both Android and MS Edge input entering
- Allow dynamic pattern updating [martyphee]
- Don’t call
onChange
function if undefined. - Update nwb to 0.9.x
- Support for React 15.x.x
- Convert tooling to use nwb [[bpugh]][[bpugh]]
- Publish
dist
files
- Added support for
value
behaving as a controlled component.
Breaking change: Now uses a mask
prop to define the input mask instead of pattern
, to avoid preventing use of the the HTML5 pattern
attribute in conjunction with the input mask.
Breaking change: React >= 0.14 is now required.
React 0.14 compatibility. [jquense]
Updated to [email protected]
Updates based on [email protected]:
- Added
placeholderChar
prop to configure the placeholder character. - The mask's pattern is now changed if the
pattern
prop changes - the user's input so far is replayed with the new pattern (with mixed results - TBD).
UMD build is now available via npm in dist/
. [muffinresearch]
Breaking change: [email protected] is now required.
Added undo/redo when Ctrl/Command + Z/Y are used.
Updated to [email protected]
A formatCharacters
prop can now be passed to configure input mask format characters.
Initial release features:
- Based on [email protected]
- Basic editing works:
- Typing, backspacing, pasting, cutting and deleting
- Invalid content will be ignored if typed or pasted
- Static parts of the mask can't be modfied
- Editing operations can handle text selections
- Tested in latest versions of Firefox, Chrome, Opera and IE
- Placeholder generation and display when the mask has no user input