Skip to content

Commit

Permalink
Merge pull request #507 from ehren/uitextfield-enabled-fix
Browse files Browse the repository at this point in the history
UITextField setEnabled: fix (isEnabled property set on wrong Xaml control)
  • Loading branch information
Ramu-msft committed May 24, 2016
2 parents a36d014 + 86cbcb4 commit f5da681
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Frameworks/UIKit/UITextField.mm
Original file line number Diff line number Diff line change
Expand Up @@ -809,9 +809,9 @@ - (void)layoutSubviews {
*/
- (void)setEnabled:(BOOL)enabled {
if (self.secureTextEntry) {
self->_textBox.isEnabled = enabled;
} else {
self->_passwordBox.isEnabled = enabled;
} else {
self->_textBox.isEnabled = enabled;
}
}

Expand Down

0 comments on commit f5da681

Please sign in to comment.