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 issue is that the following PageEvent does not seem to pass any data (like an ID) when triggered: PageEvent( name='server-load', context={'id': '{id}'} )
In this case, the id field in the context dictionary remains unpopulated, meaning that no actual data binding occurs when the event is fired. I suspect that only the EventGoTo event passes a limited amount of data to the handler.
To address this, we may need a mechanism similar to global event handlers that can capture specific interactions, like the way DisplayLookup can trigger an onclick event and pass relevant data to the backend code for processing.
For example, when invoking PageEvent, the event seems to be initiated exclusively on the Python side but isn’t processed correctly, resulting in no data being passed through. What we need is a solution where the event handler on the front end can trigger backend logic, similar to how typical JavaScript events work (e.g., an onclick event passing data to a backend endpoint).
Hello! I need help with PageEvent.
I want receive Id in def modal_view from def deliveriy_choice field 'id'
How I can do this?
I have this code
The text was updated successfully, but these errors were encountered: