Masked React component
Potential breaking change as the peerDependencies
range has been changed from "0.14.x || 15.x"
to "^0.14.9 || ^15.3.0"
.
Use React.Component
instead of React.createClass
and the prop-types
package instead of React.PropTypes
to silence deprecation warnings [#94] [krvital]
Update nwb to 0.17.x:
module
config replaces jsnext:main
in package.json
to specify the location of the ES6 modules build.prop-types
is bundled with the UMD development build and stripped from the production build, along with usage of propTypes
.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]:
placeholderChar
prop to configure the placeholder character.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]
Updated to [email protected]
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: