I have the following component where I render a list of items based on the value of the dropdown. The items are fetched via the SQL Database Connector plugin.
I show the Loading Text when the value in the dropdown changes and hide it when the Repeating Group has stopped loading. This works fine the first time I change the value. However, when the value of the dropdown changes a second time, the list data gets updated, but the loading state doesn’t change so the Loading Text is still visible.
Is the loading state on the Repeating Group compatible with the SQL Database Connector? If not, is there another way I can get a loading state when fetching data via an external API?