Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

react input mask ref

// use inputRef
const ref = useRef<HTMLInputElement>(null);

<InputMask
  mask="xx"
  inputRef={ref}
/>
 
PREVIOUS NEXT
Tagged: #react #input #mask #ref
ADD COMMENT
Topic
Name
1+6 =