Add missing contact information
This commit is contained in:
parent
7d97909d06
commit
501f36e7ca
@ -536,6 +536,41 @@ export function MemberPage(p: {
|
||||
return { label: c.fr, value: c.code };
|
||||
})}
|
||||
/>
|
||||
{/* Address */}
|
||||
<PropEdit
|
||||
label="Adresse"
|
||||
editable={p.editing}
|
||||
value={member.address}
|
||||
onValueChange={(v) => {
|
||||
member.address = v;
|
||||
updatedMember();
|
||||
}}
|
||||
size={ServerApi.Config.constraints.member_address}
|
||||
/>
|
||||
|
||||
{/* Postal code */}
|
||||
<PropEdit
|
||||
label="Code postal"
|
||||
editable={p.editing}
|
||||
value={member.postal_code}
|
||||
onValueChange={(v) => {
|
||||
member.postal_code = v;
|
||||
updatedMember();
|
||||
}}
|
||||
size={ServerApi.Config.constraints.member_postal_code}
|
||||
/>
|
||||
|
||||
{/* City */}
|
||||
<PropEdit
|
||||
label="Ville"
|
||||
editable={p.editing}
|
||||
value={member.city}
|
||||
onValueChange={(v) => {
|
||||
member.city = v;
|
||||
updatedMember();
|
||||
}}
|
||||
size={ServerApi.Config.constraints.member_city}
|
||||
/>
|
||||
</PropertiesBox>
|
||||
</Grid>
|
||||
)}
|
||||
|
@ -20,7 +20,7 @@ export function PropSelect(p: {
|
||||
return <PropEdit label={p.label} editable={p.editing} value={value} />;
|
||||
}
|
||||
return (
|
||||
<FormControl fullWidth variant="filled">
|
||||
<FormControl fullWidth variant="filled" style={{ marginBottom: "15px" }}>
|
||||
<InputLabel>{p.label}</InputLabel>
|
||||
<Select
|
||||
value={p.value}
|
||||
|
Loading…
Reference in New Issue
Block a user