[ReactNative] Fix suggestions in TextInput when setting value prop
This commit is contained in:
parent
8d643224ee
commit
89f5ff4d04
|
@ -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?
|
||||
|
|
Loading…
Reference in New Issue