API & Client: profile edition refactor

This commit is contained in:
Sam
2018-05-08 18:26:42 +02:00
parent d6bb413fb6
commit faefe18e04
3 changed files with 3 additions and 5 deletions

View File

@ -120,9 +120,7 @@ class ProfileEdit extends React.Component {
<input
name="birthDate"
className="form-control input-lg"
type="text"
pattern="\d{1,2}/\d{1,2}/\d{4}"
placeholder="dd/mm/yyyy"
type="date"
value={formProfile.birthDate}
onChange={onHandleFormChange}
/>