New (actually old) way to make RCTUITextField editable/non-editable

Reviewed By: mmmulani, sahrens

Differential Revision: D5368181

fbshipit-source-id: 9580adb4980e758fba2bf4ee4460eaaa6823358a
This commit is contained in:
Valentin Shergin authored and Facebook Github Bot committed 2017-07-03 21:22:37 -07:00
1 parent c28595e3fb
commit 0fd061ec3d
1 file changed
+2 -2
+2 -2
View File
@@ -73,12 +73,12 @@
- (BOOL)isEditable
{
return self.userInteractionEnabled;
return self.isEnabled;
}
- (void)setEditable:(BOOL)editable
{
self.userInteractionEnabled = editable;
self.enabled = editable;
}
#pragma mark - Caret Manipulation