
Security News
/Research
Fake Corepack Site Distributes Infostealer and Proxyware to Developers
A fake corepack.org site is impersonating the Node.js tool and delivers an infostealer and proxyware to developers who download it.
react-mui-form-validator
Advanced tools
npm install react-mui-form-validator
Some rules can accept extra parameter, example:
<MuiTextField
{...someProps}
validators={[
{
validator: "maxNumber",
max: 10,
},
]}
/>
You can pass any props of field components, but note that errorText prop will be replaced when validation errors occurred.
Your component must provide a theme.
import { useState } from "react";
import { MuiForm, MuiTextField } from "react-mui-form-validator";
import { Button } from "@mui/material";
export default function App(props: any) {
const [email, setEmail] = useState();
const handleSubmit = () => {
// your submit logic
};
return (
<div>
<h3>Example Sign In</h3>
<MuiForm onSubmit={handleSubmit}>
<MuiTextField
name="email"
label="Email"
placeholder="example@domain.com"
onChange={(v) => setEmail(v.target.value)}
value={email}
validators={[{ validator: "required" }, { validator: "isEmail" }]}
errorMessages={["Email required", "Enter a valid email"]}
fullWidth
/>
<br />
<Button type="submit" variant="outlined">
Sign In
</Button>
</MuiForm>
</div>
);
}
FAQs
Validator for forms designed with material-ui components.
The npm package react-mui-form-validator receives a total of 4 weekly downloads. As such, react-mui-form-validator popularity was classified as not popular.
We found that react-mui-form-validator demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer 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.

Security News
/Research
A fake corepack.org site is impersonating the Node.js tool and delivers an infostealer and proxyware to developers who download it.

Research
/Security News
A large-scale campaign abused GitHub Actions in compromised repositories to exploit CVE-2026-41940 in cPanel and WHM and steal server credentials.

Security News
Five frontier LLMs generated the same nonexistent package names, leaving 53 available for potential slopsquatting across PyPI and npm.