Problem with fetching React JSON Form using JS API #152
-
The code is like this:
I have imported the libraries, and the reactJsonForm variable is defined. Furthermore, I can confirm that the field structure exists and I can also find it using document.getElementById(). What could be the reason that the form is not fetched here? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Please upload a sample repo on github so I can reproduce it. |
Beta Was this translation helpful? Give feedback.
-
I was able to fetch it after calling the code from inside |
Beta Was this translation helpful? Give feedback.
I was able to fetch it after calling the code from inside
$(document).ready()
using jQuery. I guess other ways of accessing the content after it is loaded should also work