javascriptnode.jsreactjsinput-mask

how to mask input IP Address in React


I need IP Address mask input because ip address can be 999.99.999.99 or 99.9.99.9 react-input-mask doesn't support different length.What do you suggest?


Solution

  • I found this example using react-input-mask: https://github.com/sanniassin/react-input-mask/issues/104