Date | 2024-03-07 (259 days ago) |
---|---|
Downloads | 1,767 downloads |
NuGet | View on NuGet |
GitHub | View on GitHub |
Target Frameworks | .NET 6 |
Umbraco Versions | Umbraco 10 Umbraco 11 Umbraco 12 |
#installation
">InstallationInstall via NuGet - either via the .NET CLI:
dotnet add package Limbo.Umbraco.BorgerDk--version 10.0.0-alpha003
or the NuGet package manager:
Install-Package Limbo.Umbraco.BorgerDk-Version 10.0.0-alpha003
#changelog
">ChangelogUpdated the property value converter to only include elements allowed by the data type (see 7dffe4e
)
The property editor only allows selecting elements that has configured as allowed on the data type, but in situations where the element was selected at a time where the type was allowed, but then the data type configuration was changed to disallow the type, the element would still be returned as part of the property value.
With this commit, the property value converter will now check against the types allowed by the data type, and skip elements that are not allowed.
Changed AllowedTypes
property type from IReadOnlyList<string>
to List<string>
(see d3e3552
)
Seems Umbraco doesn't support deserializing to an IReadOnlyList<string>
, so the type of the BorgerDkConfiguration.AllowedTypes
property has now been updated from IReadOnlyList<string>
to List<string>
.