web: set name prop on fields

This commit is contained in:
Abdullah Atta
2023-12-08 11:52:08 +05:00
parent f8b6dd6d1a
commit c72cac1213

View File

@@ -936,6 +936,7 @@ export function AuthField(props: FieldProps) {
return (
<Field
{...props}
name={props.name || props.id}
required
sx={{ mt: 2, width: "100%" }}
styles={{