leekelleher d67f4f26ef Selection manager: fixes initial value
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.
2024-01-09 12:21:43 +01:00
Description
Umbraco is a free and open source .NET content management system helping you deliver delightful digital experiences.
448 MiB
Languages
C# 59.5%
TypeScript 39.9%
JavaScript 0.3%
HTML 0.2%