gcanti / tcomb-form

Forms library for react
https://gcanti.github.io/tcomb-form
MIT License
1.16k stars 136 forks source link

Date format #278

Closed Industrial closed 8 years ago

Industrial commented 8 years ago

Hi.

What's the correct date format to insert in <Form value={formData}/>? Right now I have a field dateOfBirth: '1987-04-22T00:00:00.000Z' but that doesn't get filled in the form.

gcanti commented 8 years ago

Hi,

A native Date object

Industrial commented 8 years ago

Okay, thanks