Return null in IsValue for PropertyValueLevel.Inter and Object
This commit is contained in:
@@ -17,6 +17,10 @@ namespace Umbraco.Core.PropertyEditors
|
||||
{
|
||||
case PropertyValueLevel.Source:
|
||||
return value != null && (!(value is string) || string.IsNullOrWhiteSpace((string) value) == false);
|
||||
case PropertyValueLevel.Inter:
|
||||
return null;
|
||||
case PropertyValueLevel.Object:
|
||||
return null;
|
||||
default:
|
||||
throw new NotSupportedException($"Invalid level: {level}.");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user