Reputation: 25793
In my app, I have two text fields, one for date and one for time. These fields need to map to a single property startTime
in my form (of type Date). Is it possible to do this?
Upvotes: 0
Views: 237
Reputation: 556
Try this: github.com/final-form/final-form-calculate
Example: http://codesandbox.io/s/oq52p6v96y
Upvotes: 1