switch first_name-last_name
This commit is contained in:
parent
3dfe25af12
commit
7299e6ebf8
@ -84,14 +84,14 @@ class UpdateClientClass extends BasePage<IPropsClass, IState> {
|
|||||||
<div className={classes["content"]}>
|
<div className={classes["content"]}>
|
||||||
<TextField
|
<TextField
|
||||||
name="first_name"
|
name="first_name"
|
||||||
placeholder="Nom"
|
placeholder="Prénom"
|
||||||
onChange={this.onChangeNameInput}
|
onChange={this.onChangeNameInput}
|
||||||
defaultValue={this.state.customer?.contact?.first_name}
|
defaultValue={this.state.customer?.contact?.first_name}
|
||||||
validationError={this.state.validationError.find((error) => error.property === "first_name")}
|
validationError={this.state.validationError.find((error) => error.property === "first_name")}
|
||||||
/>
|
/>
|
||||||
<TextField
|
<TextField
|
||||||
name="last_name"
|
name="last_name"
|
||||||
placeholder="Prénom"
|
placeholder="Nom"
|
||||||
onChange={this.onChangeFirstNameInput}
|
onChange={this.onChangeFirstNameInput}
|
||||||
defaultValue={this.state.customer?.contact?.last_name}
|
defaultValue={this.state.customer?.contact?.last_name}
|
||||||
validationError={this.state.validationError.find((error) => error.property === "last_name")}
|
validationError={this.state.validationError.find((error) => error.property === "last_name")}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user