Reputation: 21
Actually, I want to update the timepicker value but ant design can't display defaultValue. How I can display my database time/value in timepicker ? I am using ant design framework.
Upvotes: 1
Views: 147
Reputation: 11
There is no code in codepen. You can refer the code on Ant Design. I guess the variable departingTime is the cause.
<TimePicker defaultValue={moment('12:08:23', 'HH:mm:ss')} />
Upvotes: 1