I have no idea if bug of what is wrong here (issue since Popup v2) #2899
-
I have base classes for my ViewModels. In my project, one ViewModel loads data from a SQLite database via a repository, and another receives its model data through a query parameter. Both use the same popup for page filter settings. However, only the repository-based ViewModel returns the updated data; the query-based ViewModel always returns unchanged data. Since the only difference is the base ViewModel in use (I’ve tested the exact same page/ViewModel with both base classes), this makes no sense to me. Switching to the repository-based base fixes the popup issue compared to the query-based one. Also, downgrading to Popup v1 fixes the issue immediately. I’m out of ideas—would appreciate any hints on why this happens and how to resolve it. Repository based, working, ViewModel:
Query data based, not working, ViewModel:
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Obviously I find the issue in the exact moment I post it online... seems like the shitty Popup v2 update also calls ApplyQueryAttributes over and over again like Appearing/Disappearing... not gonna lie, the Popup v2 upgrade was the worse I have ever seen in any library, espacially how badly it is documented. |
Beta Was this translation helpful? Give feedback.
Obviously I find the issue in the exact moment I post it online... seems like the shitty Popup v2 update also calls ApplyQueryAttributes over and over again like Appearing/Disappearing... not gonna lie, the Popup v2 upgrade was the worse I have ever seen in any library, espacially how badly it is documented.