mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-10-05 16:42:58 +00:00
Show null placeholder when the value is CPNull.
This commit is contained in:
1 parent
b8f9263d18
commit
3e9e0802f6
1 file changed
+1
-1
@@ -231,7 +231,7 @@ var CPBindingOperationAnd = 0,
|
||||
aValue = [valueTransformer transformedValue:aValue];
|
||||
|
||||
|
||||
if (aValue === undefined || aValue === nil)
|
||||
if (aValue === undefined || aValue === nil || aValue === [CPNull null])
|
||||
aValue = [options objectForKey:CPNullPlaceholderBindingOption] || nil;
|
||||
|
||||
return aValue;
|
||||
|
||||
Reference in new issue
Block a user