+ {saveError && (
+ setSaveError(null)}>
+ {saveError}
+
+ )}
+
+ {/* Personal Information */}
+
+
+ Personal Information
+
+
+
+
+ Title
+
+
+
+
+
+ handleInputChange("name.first", e.target.value)
+ }
+ required
+ />
+
+
+
+ handleInputChange("name.last", e.target.value)
+ }
+ required
+ />
+
+
+ handleInputChange("email", e.target.value)}
+ required
+ />
+
+
+
+ Gender
+
+
+
+
+
+
+
+
+ {/* Contact Information */}
+
+
+ Contact Information
+
+
+
+ handleInputChange("phone", e.target.value)}
+ />
+
+
+ handleInputChange("cell", e.target.value)}
+ />
+
+
+
+
+
+
+ {/* Address Information */}
+
+
+ Address Information
+
+
+
+
+ handleInputChange(
+ "location.street.number",
+ parseInt(e.target.value) || 0,
+ )
+ }
+ />
+
+
+
+ handleInputChange("location.street.name", e.target.value)
+ }
+ />
+
+
+
+ handleInputChange("location.city", e.target.value)
+ }
+ />
+
+
+
+ handleInputChange("location.state", e.target.value)
+ }
+ />
+
+
+
+ handleInputChange("location.postcode", e.target.value)
+ }
+ />
+
+
+
+ handleInputChange("location.country", e.target.value)
+ }
+ />
+
+
+
+
+