Not saving date and time while selecting
Closed this issue · 1 comments
Sarat-1997 commented
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?
alanchan-dev commented
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.