Prop to indicate the control loading process

There should be a prop to indicate the time taken by jsonforms to load the different controls from the given data and uischema.

I have setup jsonforms using redux, my form is big and has a lot of controls,
It takes a lot of time to load the form with the given data,
Which generates an error(long-running script) in few browsers(Edge).
If there was a prop indicating the same, which could have been used to show some kind of loader to the user.

[original thread by amit1910]

[Lily]

Hey Amit, check out the responses to your issue on Github

[amit1910]

Hi @lilyh I had a look at your approach, but my form has just 25 controls, and i have used redux with json forms,
yet it takes time to render the controls

@avinashbhosale998 Please don’t open the same issue on Spectrum and Github at the same time. We are actively monitoring both channels so we won’t miss it :wink:
Do you actually need a loading indicator? I would assume that 25 controls should be rendered pretty quickly. If the slowdown comes from JSON Forms core (and not because of some custom controls) then it is probably caused by the ref-resolving functionality. I would check if you can either simplify the schema or play with the resolving options to speed up the process.

[amit1910]

@sdirix thank you, but still the indicator would be better.

[Lily]

@avinashbhosale998 If this is something your project needs you might considered submitting a pull request