React Textfield / redux form component does not allow writing
问题 form render: return ( <form onSubmit={handleSubmit}> <Field name="login" component={RenderTextField} label="Login" /> <Field name="password" component={RenderTextField} label="Password" /> </form> ) validate: const RenderTextField = ({ label, input, meta: { touched, invalid, error }, ...custom },props) => { const classes = useStyles(); return ( <TextField label={label} placeholder={label} error={touched && invalid} helperText={touched && error} {...input} {...custom} /> ); } const validate =