[ListBaseComponent] Fix for default selection options#4135
[ListBaseComponent] Fix for default selection options#4135dvoituron merged 5 commits intomicrosoft:devfrom Tyme-Bleyaert:fix/default-selection-lists
Conversation
|
Give me a few days to verify these changes. One initial note: You cannot change the unit tests. If that is required, it is a breaking change. |
No rush at all 😊 I’m also happy to discuss this further over a Teams call if that would help. |
|
Just realized something, when working with a list of strings the reference will be different while the value might be the same. |
|
Ok, that’s better. I was making it way harder than the issue actually was. 😐 |
Pull Request
📖 Description
Replace
item?.Tostring()to determine current selected value as this would result inNamespaceName.MyClassfor most cases.Now uses a hash key as the default and not the
GetHashCodefor security.🎫 Issues
Fix #4128
✅ Checklist
General
Component-specific