Difficulty in Closing Date Picker After Selection in FlutterFlow

Actions & Logic

Hi folks!

I have implemented a date picker to allow users to select a date in a text field. However, after selecting a date, the date picker remains open. I'm looking for a way to automatically close the date picker once a date is selected. Any guidance on how to achieve this would be greatly appreciated.

Thank you!

What have you tried so far?

I added these 2 actions for my textfield item:

  • Date/Time Picker

  • Set Form Field

I thought about adding a third action either "Navigate back" or "Close Dialog, Drawer, etc. (pop)", but none of these actions work for me, because it does not leave me on the page where this element is located but goes to another page from which I could go to the page with this field.

Did you check FlutterFlow's Documentation for this topic?
Yes
2
5 replies