mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-11-16 03:30:42 +00:00
1 parent
25c7d98d2c
commit
88035429bb
1 file changed
+3
@@ -708,6 +708,9 @@ var _CPTextFieldSquareBezelColor = nil,
|
||||
*/
|
||||
-(void)setPlaceholderString:(CPString)aStringValue
|
||||
{
|
||||
if(_placeholderString && [self stringValue] === _placeholderString)
|
||||
_value = @"";
|
||||
|
||||
_placeholderString = aStringValue;
|
||||
|
||||
//if there is no set value, automatically display the placeholder
|
||||
|
||||
Reference in new issue
Block a user