Recently i'm implementing a dynamic form in macro config in Confluence Forge app and encountered a weird behaviour in macro config.
The columns select field options are retrieved via resolver function to fetch all the available property columns based on the Type field. The initial state of the columns is empty array ([]), this is why you would see `No options` at first.
After the resolver invocation has been executed in useEffect, the Columns select field has been filled up with the result from resolver.
However, when i try to select the next column, the macro config somehow reset the state to init state and the Columns select field became 'No options' again
.
Therefore, i would need to go through the fetching process again to fetch the available properties.
I would like to know is it an expected behaviour for macro config in forge? Seems like it impact the user experience where the user has to wait for the fetch for every option selection.
Welcome to our Community.
Please check your Forge codes in Select onchange function. According to what infromation you've provided, the options got from the Server side is okay, but have issues when you select some of the options.
Hope it helps & Good luck
YY哥
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.