We really like the revamped button group component – good job!
One thing that is missing is the ability to set a loading state similar to the normal button component. Especially with queries that take longer to run, it's difficult to visualise to user that their button click actually had an effect and the query is running.
Hi @nikita_from_bunch, we could achieve this functionality by adding a ternary to the button's label.
For example, given the following "Button Group" component:
We can add an event handler to the first button (blue) to run a query. Then, update its label to show "Loading..." while the query's "isFetching" property evaluates to true.
Hey @Paulo, stumbled across this quite often and it would be super helpful to have the same functionalities as the "single" button has. Any news related to it?