Open
Description
Version
- Vue version: 3
Description
The bug is specific to usage with the Composition API.
Given options
and value
passed as a Ref
.
When a new option is added to options
and also to value
to make it selected,
the newly added option is not displayed as selected.
It seems, that the internal state for selected options to be displayed relies on the internal state of available options. But with composable, the internal state of available options is updated before the internal state of selected options.
Demo
Screencast.From.2025-04-17.00-34-18.mp4
Metadata
Metadata
Assignees
Labels
No labels