I'm receiving data from API and passing it immediatly to <Form> initialValue. But registerDate is in string format like "01-01-2022" and when <Form.Item> is passing it into <DatePicker> i've got an error:
Error: t.clone is not a function [...]
How can I repair it? Can I format the date before passing it into <Datepicker> in <Form.Item>?
Code example here: https://stackblitz.com/edit/react-cxyphe