How to reset the value of place picker.

Widgets & Design
Screenshot 2025-02-18 105520.png
28.14KB

I'm trying to ensure that the Address field updates with the mapCenter value only if the Address is empty and the mapCenter is moving. If the Address is manually filled, it shouldn't change even if the mapCenter moves. How can I achieve this? Could you please look into my loops and suggest a solution?

What have you tried so far?

I created a function that checks if mapCenter is not null and not empty. If mapCenter equals 'moving', it returns true, indicating that the map center is changing. Otherwise, it returns false. This should help determine if the mapCenter is changing based on the action output in FlutterFlow.

However, it's not working as expected because it always picks the mapCenter value.

Did you check FlutterFlow's Documentation for this topic?
Yes
3