[ReactNative] Fix suggestions in TextInput when setting value prop

This commit is contained in:
Spencer Ahrens 2015-04-09 17:40:30 -07:00
parent 8d643224ee
commit 89f5ff4d04
1 changed files with 7 additions and 0 deletions

View File

@ -35,6 +35,13 @@
return self;
}
- (void)setText:(NSString *)text
{
if (![text isEqualToString:self.text]) {
[super setText:text];
}
}
- (NSArray *)reactSubviews
{
// TODO: do we support subviews of textfield in React?