You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The problem comes when the form the user is currently on is the same one referenced by self.tag. Given that I'm passing load_from_cache=False, I expected the form to be reloaded, with new calls to init and form_show.
Instead the form simply remained visible, with no calls to any function on the form.
The following code fixed the issue and caused the behavior I expected:
I added a pull request for something I think will work. I do not have an app setup to test a custom version of Anvil Extras, though, so check over the logic to make sure I'm not missing something obvious.
I use code like this as part of my login sequence:
The problem comes when the form the user is currently on is the same one referenced by self.tag. Given that I'm passing load_from_cache=False, I expected the form to be reloaded, with new calls to init and form_show.
Instead the form simply remained visible, with no calls to any function on the form.
The following code fixed the issue and caused the behavior I expected:
Posting here in case this is a bug in the routing library that needs addressed.
The text was updated successfully, but these errors were encountered: