Hi I'm trying to add an id to the post request. Currently the payload is query: ..... I also want to add and {id:value} along with the query. I'm using React and saving an instance of yasgui in a ref.
I've tried to do it in 2 places of my code to add the id before the POST happens.
The second approach kind of works except its ignoring the first tab when added. Then all added tabs after that it adds the last id to the newly added tab.
Hi I'm trying to add an id to the post request. Currently the payload is query: ..... I also want to add and {id:value} along with the query. I'm using React and saving an instance of yasgui in a ref.
I've tried to do it in 2 places of my code to add the id before the POST happens.
The first approach does not work at all.
The second approach kind of works except its ignoring the first tab when added. Then all added tabs after that it adds the last id to the newly added tab.
Is there a correct way to add a tabId to the Post request before it gets submitted ?