Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
react-masked-mui-textfield
Advanced tools
Component that implements TextField + IMaskInput
https://antoniolago.github.io/react-masked-mui-textfield/
Install it by running npm install react-masked-mui-textfield --save
or yarn add react-masked-mui-textfield
. Then:
import MaskedTextField from 'react-masked-mui-textfield';
//Use props you would usually use on mui's TextField and IMaskInput
//Example:
<div>
<h4 className="bold mb-2">Mobile Telephone (Brasil)<span style={{ color: "var(--danger)" }}> *</span></h4>
<MaskedTextField
name="Telephone"
size="small"
placeholder="(00) 0 0000-0000"
mask="(00) 0 0000-0000"
value={telephone}
onChange={(e: any) => setTelephone(e.target.value)}
error={erroTelephone != ""}
style={{ width: '100%' }}
variant="outlined" />
<br />
<FormHelperText error>
{erroTelephone}
</FormHelperText>
</div>
FAQs
Component that implements TextField + IMaskInput
We found that react-masked-mui-textfield demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.