Since this calendar is populated dynamically I’d like to use the active or current calendar dates to limit my query to only show the user what she needs to see.
So I go into my Server Connect query action and add the variables, current start and current end in this example:
Notice the calendar is Feb. 28 to Mar. 6 but the active/current date values do not change. I believe this may be a bug, but may also be this user’s error.
If this does turn out to be a bug, please let me know and I will happily complete a bug report.
When troubleshooting this, it seems that changing dates does not trigger the App Connect Server Connection query to get the new records.
In this video:
You can see that things work in a monthly view records display as expected. However in the weekly view records do not appear. I’ve also confirmed that within the inspector, the monthly view triggers SC queries while the weekly view does not.
@nepatriot I’m experiencing the same issue. If I click the next and previous buttons to advance to the next month, the active and current start and end dates don’t change and thus it doesn’t trigger the app connect query to update the results. It’s either a bug or you and I are misunderstanding how it works.
I’m going to go on a limb and say it’s a bug in the interest of getting this fixed since making a backend query that returns all date data is wasteful at best and makes the app super slow for the end user at worse.
I’ll go ahead and create the bug today and would appreciate your comment on it the bug in the interest of getting it fixed.
@nepatriot did you create the bug? I thought I’d give it a shot in Wappler 4.0.0-beta.6 but still not working. Without this working it pretty much makes the calendar useless for what I’m trying to use it for.