feat: password and invitation code verification rules (#2258)

This commit is contained in:
Yaodong Yu
2023-08-25 21:16:21 +08:00
committed by GitHub
parent 9da2f0775f
commit 7970edeaa7
3 changed files with 9 additions and 11 deletions

View File

@ -137,7 +137,7 @@ class SignupTable extends React.Component {
}
return (
<Switch checked={text} onChange={checked => {
<Switch checked={text} disabled={record.name === "Password"} onChange={checked => {
this.updateField(table, index, "required", checked);
}} />
);