react-imask
Advanced tools
Comparing version 6.4.3-alpha.0 to 6.4.3-alpha.1
@@ -5,3 +5,3 @@ { | ||
"license": "MIT", | ||
"version": "6.4.3-alpha.0", | ||
"version": "6.4.3-alpha.1", | ||
"homepage": "https://imask.js.org/", | ||
@@ -33,3 +33,3 @@ "description": "React input mask", | ||
}, | ||
"gitHead": "0fbfbfff14a55795c59144c74c1a0fdc2ae99133", | ||
"gitHead": "50f36403d50dc8f9876b7e67210e5458b9bbf7f1", | ||
"devDependencies": { | ||
@@ -36,0 +36,0 @@ "@types/react": "^18.0.20", |
@@ -21,2 +21,3 @@ # React IMask Plugin | ||
const ref = useRef(null); | ||
const inputRef = useRef(null); | ||
<IMaskInput | ||
@@ -28,3 +29,3 @@ mask={Number} | ||
ref={ref} | ||
inputRef={el => this.input = el} // access to nested input | ||
inputRef={inputRef} // access to nested input | ||
// DO NOT USE onChange TO HANDLE CHANGES! | ||
@@ -31,0 +32,0 @@ // USE onAccept INSTEAD |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
94764
95