mirror of
https://github.com/status-im/react-native.git
synced 2025-01-14 11:34:23 +00:00
[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…
x
Reference in New Issue
Block a user