Skip to content

Dropdown and MultiSelect on expand event #150

Closed
@fairking

Description

@fairking

I am missing a small feature on the Dropdown and MultiSelect components. I would like to load a list of options when the dropdown is being expanded first time, not on page load.
So I can see if I pass the selected value as `{ id: 123, name: "Bla-bla" } the name is already included so it will be visible without necessity of loading the list.

  1. Currently if value is present but list is not loaded Dropdown shows empty field (even when my name is present in the value object).
  2. Would be nice to have a spinner on the expanded area while items are loaded (not a big deal).
  3. It might be an event on-expand or something. So when that happens I can check if options are loaded. If they're not I can load the list of options.

Please let me know what do you think guys.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type: EnhancementIssue contains an enhancement related to a specific component. Additional functionality has been add

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions