alanchan-dev/OmniDateTimePicker

Not saving date and time while selecting

Closed this issue · 1 comments

Function: DateTime? dateTime =await showOmniDateTimePicker(context: context);

I had put this function but the problem is when i pick date and time it doesn't save on the textfield. How can i solve this?

Function: DateTime? dateTime =await showOmniDateTimePicker(context: context);

I had put this function but the problem is when i pick date and time it doesn't save on the textfield. How can i solve this?

After you get the dateTime, you need to parse it to String by formatting the dateTime and update your TextField.