informations filled
This commit is contained in:
parent
da3659e84a
commit
83c65be610
@ -162,7 +162,7 @@ class _EditProfileState extends State<EditProfile>
|
||||
inputName.text = body["name"];
|
||||
inputFirstName.text = body["firstName"];
|
||||
inputUserName.text = body["username"];
|
||||
inputEmail = body["email"];
|
||||
inputEmail.text = body["email"];
|
||||
inputBirth.text =
|
||||
DateFormat("dd/MM/yyyy").format(DateTime.parse(body["birth"]));
|
||||
});
|
||||
@ -248,7 +248,7 @@ class _EditProfileState extends State<EditProfile>
|
||||
obscureText: true,
|
||||
decoration: InputDecoration(
|
||||
border: OutlineInputBorder(),
|
||||
labelText: 'Mot de passe',
|
||||
labelText: 'Confirmez le mot de passe',
|
||||
hintText: 'Confirmez le mot de passe'),
|
||||
),
|
||||
),
|
||||
@ -283,7 +283,7 @@ class _EditProfileState extends State<EditProfile>
|
||||
left: 15.0, right: 15.0, top: 15, bottom: 0),
|
||||
//padding: EdgeInsets.symmetric(horizontal: 15),
|
||||
child: TextFormField(
|
||||
controller: inputName,
|
||||
controller: inputEmail,
|
||||
validator: (value) => _validateField(value),
|
||||
decoration: InputDecoration(
|
||||
border: OutlineInputBorder(),
|
||||
|
Loading…
x
Reference in New Issue
Block a user