momentum-design/momentum-ui

[Select] add `isLoading` for dynamically loading options

Open

#533 opened on Feb 3, 2020

 (1 comment) (0 reactions) (0 assignees)SCSS (223 forks)auto 404
@core@react@vuehelp wanted

Repository metrics

Stars
 (212 stars)
PR merge metrics
 (PR metrics pending)

Description

Issue Type

Feature Request

Component or Pattern Affected

Select

Expected Behavior

When dynamically loading options to a select (all libraries) there needs to be a spinner in place of the caret and the click action should be disabled. The prop to enable/disable should be isLoading

Current Behavior

EmptyDeviceList

Contributor guide