mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-11-30 02:12:03 +00:00
Fixed: Wrong placeholder string in CPTextField when using bindings
This commit is contained in:
1 parent
e2580bda05
commit
11c6b667fb
1 file changed
+2
@@ -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];
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user