Limbo.Umbraco.Boolean 3.0.1

The ID prefix of this package has been reserved for one of the owners of this package by NuGet.org. Prefix Reserved
.NET 6.0
dotnet add package Limbo.Umbraco.Boolean --version 3.0.1
NuGet\Install-Package Limbo.Umbraco.Boolean -Version 3.0.1
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Limbo.Umbraco.Boolean" Version="3.0.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Limbo.Umbraco.Boolean --version 3.0.1
#r "nuget: Limbo.Umbraco.Boolean, 3.0.1"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install Limbo.Umbraco.Boolean as a Cake Addin
#addin nuget:?package=Limbo.Umbraco.Boolean&version=3.0.1

// Install Limbo.Umbraco.Boolean as a Cake Tool
#tool nuget:?package=Limbo.Umbraco.Boolean&version=3.0.1

GitHub license NuGet NuGet Our Umbraco

This package adds a new boolean property editor to Umbraco. Using a toggle input, users will be able to set the value to either true or false.

But why?

Umbraco already has a built-in property for a boolean type, so why add another one?

The build-in property editor has a Initial state option (alias is default) for the data type, but it doesn't apply retroactively to content that doesn't already have a saved value, although one could expect this behavior.

Ideally something like this should be added back to into the Umbraco source code (there is even an issue for it), but for now, this package adds a new property editor that has the expected behavior for the default value / initial state.

Product Versions
.NET net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows net7.0 net7.0-android net7.0-ios net7.0-maccatalyst net7.0-macos net7.0-tvos net7.0-windows
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
3.0.1 69 11/20/2022
3.0.0 285 8/22/2022
3.0.0-alpha001 307 6/1/2022
2.0.1 55 11/20/2022
2.0.0 1,926 1/6/2022
1.0.2 59 11/19/2022
1.0.1 156 11/23/2021
1.0.0 152 11/23/2021