design-system icon indicating copy to clipboard operation
design-system copied to clipboard

[feat]: Consistent loading state for `Select` and `Combobox`

Open gu-stav opened this issue 10 months ago • 0 comments

A clear and concise description of what the feature is

Add a isLoading property to Select and Combobox components, to render a spinner.

Why should this feature be included?

In the CMS we have to load a lot of data when rendering, which leads to loading spinners. The Select and Combobox components are not exceptions and often depend on data being loaded (e.g. for review workflows).

While it is possible to set a loading state for Select via customizeContent it is not for Combobox, and therefore when used together both components appear different during the loading phase.

Please provide an example for how this would work

see above

gu-stav avatar Sep 06 '23 07:09 gu-stav