Open
Description
Code of conduct
- I agree to follow this project's code of conduct.
Impacted component(s)
Picker
Expected behavior
When an sp-picker
is rendered with a given value that belongs to a (delayed) rendered slotted menu-item - the default label should display the value of the selected sp-menu-item
.
Actual behavior
When a value is provided to sp-picker and the related menu-item (with same value) is rendered later and slotted into the picker - the default displayed label is not updated and doesn't reflect the related menu-item.
Also the menu-item is not selected.
Screenshots
No response
What browsers are you seeing the problem in?
Chrome, Safari, Firefox, Microsoft Edge
How can we reproduce this issue?
- Go to https://studio.webcomponents.dev/edit/8b7MDkRa40AcxvOGUUi2/src/index.ts?p=stories
- The items will be rendered after 1000ms into the picker component, while the
value
is already set - If you open the picker, no menu-item is selected
Sample code or abstract reproduction which illustrates the problem
No response
Severity
SEV 3
Logs taken while reproducing problem
No response