I’m facing an issue where a popup is not displaying any data from a table. Everything seems corret, but for some reason it’s not working.
When the user clicks on the pencil icon, a popup should open to display details from the database (current row from a table), but the data isn’t showing up.
I’d appreciate any suggestions on how to resolve this.
Instead of using “data source” on the popup, make a group that wraps all your input fields and create a state inside of the popup called “selected_user” or something with a data type of “User”. Set that wrappers data type to user, and the source to the popups “selected_user” state.
When the action is used, set the popups state to that user, and show it. Should work fine.
Make sure when you reset that you remove the user from the state as well.