Feature upgrade: UUI-select does not reflect value#1141
Feature upgrade: UUI-select does not reflect value#1141NguyenThuyLan wants to merge 3 commits intomainfrom
Conversation
|
Azure Static Web Apps: Your stage site is ready! Visit it here: https://delightful-beach-055ecb503-1141.westeurope.azurestaticapps.net |
|
Azure Static Web Apps: Your stage site is ready! Visit it here: https://delightful-beach-055ecb503-1141.westeurope.azurestaticapps.net |
|
|
Azure Static Web Apps: Your stage site is ready! Visit it here: https://delightful-beach-055ecb503-1141.westeurope.azurestaticapps.net |
iOvergaard
left a comment
There was a problem hiding this comment.
I see your point, @LanThuyNguyen, that this is more intuitive. However, it is a breaking change that we cannot get into a minor release if we remove the previous option. So I was wondering if you think we can get both ways to work, and then also deprecate the old option (selected?: boolean) instead of removing it entirely.
What do you think?



Description
Types of changes
Motivation and context
The
uui-selectcomponent receives an array of options. If one of the options hasselected: true, then that will be the one selected.That is not intuative, as a developer usually would set the value in this style:
This PR is about making above work.
How to test?
Screenshots (if appropriate)
Checklist