Handle checkbox value conversion from Nested Content
This commit is contained in:
committed by
Sebastiaan Janssen
parent
f54a8725db
commit
2352b50d97
@@ -36,6 +36,10 @@ namespace Umbraco.Core.PropertyEditors.ValueConverters
|
||||
if (source is int)
|
||||
return (int)source == 1;
|
||||
|
||||
// this is required for correct true/false handling in nested content elements
|
||||
if (source is long)
|
||||
return (long)source == 1;
|
||||
|
||||
if (source is bool)
|
||||
return (bool)source;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user