FlutterFlow / flutterflow-issues

A community issue tracker for FlutterFlow.
124 stars 25 forks source link

unable to update calendar date to app state automatically #4797

Open plannedlivingjournal opened 1 day ago

plannedlivingjournal commented 1 day ago

Can we access your project?

Current Behavior

I have a calendar widget (hidden) and want to use the 'selected date' as an app state. Hence, everyday when the calendar's present date changes, the app state should also update, since throughout app I have added backend queries in which info will be extracted depending upon today's date. However, the update app state only happens when a user clicks on calendar, but in my app calendar is hidden from user since I wish to only use the current date to extract information from back-end. I tried using 'Current time', however, it takes exact time and there is no way in which the date can be extracted.

Expected Behavior

Everyday when calendar date changes, app state should be automatically updated without user input

Steps to Reproduce

  1. Add calendar widget, however make its opacity 0 since its not required from user
  2. Create an app state

Reproducible from Blank

Bug Report Code (Required)

IT4olsn15YVPj7xE7q6JccBKjSQWOUAlbLgO0cpBZzwgGKLyPLMUZ876P0hWUse4S3xAJWaMp14D0+DWj/LlVO0pAEycRp9yyM0NVgrjRmK7RqmTF7qWPnB5M+5gfUix07aruBVTAPNpc3AB70+YHN+8dAXBO4DJDWo8Sq/LZO4=

Visual documentation

image

Environment

- FlutterFlow version: 5.0.8+
- Platform: Web
- Browser name and version: Chrome
- Operating system and version affected: Windows

Additional Information

No response

Alezanello commented 18 hours ago

Hello!

I apologize; I’m not fully understanding the use case here. Would you be able to provide a video demonstrating what you’re trying to achieve or some more detailed steps to reproduce the issue? Alternatively, if possible, creating a new blank project with just the necessary widgets and variables would help us pinpoint where the bug might be.

Thank you for your help in clarifying!