Fixed: Wrong placeholder string in CPTextField when using bindings

This commit is contained in:
Stefan Wallström committed 2013-03-06 20:44:09 +01:00
1 parent e2580bda05
commit 11c6b667fb
1 file changed
+2
+2
View File
@@ -1660,6 +1660,7 @@ var CPTextFieldIsEditableKey = "CPTextFieldIsEditableKey",
- (void)setValue:(id)aValue forBinding:(CPString)aBinding
{
[_source setPlaceholderString:[self _placeholderForMarker:CPNullMarker]];
[_source setObjectValue:aValue];
}
@@ -1675,6 +1676,7 @@ var CPTextFieldIsEditableKey = "CPTextFieldIsEditableKey",
- (void)setValue:(id)aValue forBinding:(CPString)aBinding
{
[_source setPlaceholderString:[self _placeholderForMarker:CPNullMarker]];
[_source setObjectValue:aValue];
}