Hi All,
I am starting to develop a panel plugin, and for now I am just focusing on the components, the SimplePanel.tsx. I don’t need the options part yet.
In the panel, I want to create a simple form with a submit button and a text field to display the response. The challenge I have is that I want to reach the infinity datasource on the click of the button and pass it a json payload with the form input, as a post request. Finally display the response message in the text field.
How would I with the javascript logic connect to my infinity datasource in the SimplePanel.tsx file. My infinity datasource has a call to an api with security added and it’s already configured.
Thank you guys in advance, any hint would be very helpful.