I want to show data from a database in a modal window (the Component from the Marketplace), edit it in the modal window and save it on close of the modal window.
I cannot show data in the modal window in my textarea, because if it is not visible the field is not defined and I cannot push something into the value field. I have tried it with a text field and bound the content to a Page Data field but then the changes were not saved in the database, because the field is bound to the modal data model.
If you could point me in the right direction that would be great?
I tried to use the Modal data model but I cannot make sense of it. If I look at the content of the data model I cannot see any data but a lot of methods.
No, to the Page Data model. I cannot use the Modal data model as this is not available until the modal is open. And I have no idea how to access the Modal data model.
Hi @Jorg_Beyer
Not sure this will be helpful to you but I use such logic to display data from Page Data in modal.
I.e. I have repeater displaying multiple entries, and once user taps on one of it:
he will get modal displayed with some values in it: