Skip to content

Commit 1d6849c

Browse files
author
Ronald Barendse
committed
Return null in IsValue for PropertyValueLevel.Inter and Object
1 parent 1347b97 commit 1d6849c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/Umbraco.Core/PropertyEditors/PropertyValueConverterBase.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@ public virtual bool IsConverter(IPublishedPropertyType propertyType)
1717
{
1818
case PropertyValueLevel.Source:
1919
return value != null && (!(value is string) || string.IsNullOrWhiteSpace((string) value) == false);
20+
case PropertyValueLevel.Inter:
21+
return null;
22+
case PropertyValueLevel.Object:
23+
return null;
2024
default:
2125
throw new NotSupportedException($"Invalid level: {level}.");
2226
}

0 commit comments

Comments
 (0)