So, I have a UDGrid setup that has a button in each row, when the button is clicked it will open up a UDModal with another UDInput and UDGrid inside.
When I entered / select data - data is selected and updated in the array - I can also see the UDgrid row were added as well. However, the data in UDgrid is empty. Any idea?
I can see these errors - looks like it is running in an endless loop? Perhaps, the auto refresh? I have disabled auto refresh in the nested UDgrid - except the one with the button.
Nothing out of ordinary in the UD log - everything looks pretty normal. I can see the data in the converttoactionresult. Weird the UDgrid has a blank no text row although the row is there. Has anyone seen this before?
Maximum update depth exceeded. This can happen when a component repeatedly calls setState inside componentWillUpdate or componentDidUpdate. React limits the number of nested updates to prevent infinite loops.
I would assume - I can’t do UDgrid / UDTable nested under UDgrid? Hm.
Only going by the error code it seems you have an infinite loop going on…I see you kindly shared a picture, but you ok to put the code for when you press the button, as it seems there is where your problem lies
Initially, both SecondResp and SecondPost was under the first UDgrid, everything display just fine. But user then requested for a button in that UDgrid, where they can enter the information and display data in the modal under a different PSobject and array object.
Data is captured fine to the array, but it does not display it in the UDtable or UDgrid under the modal. Occassionally getting the error React 158, my bet is the auto refresh. Or is this the sync UDelement since its nested under another UDgrid?