d67f4f26effdcad74b20e5b7be85470459893cc2
When the modal initially opens, the `#multiple` is `false`, (regardless of how it is configured), so the initial value is set to `[undefined]`. Then when the `#multiple` is observed as `true` (there must be an underlying bug with the modal context code here), then the `#selection` array already has an initial value of `[undefined]` so will append newly selected values to that array. I discovered this issue due to a bug with the Tree Picker editor.
Description
Umbraco is a free and open source .NET content management system helping you deliver delightful digital experiences.
Languages
C#
59.5%
TypeScript
39.9%
JavaScript
0.3%
HTML
0.2%