We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fd5629b commit fda536bCopy full SHA for fda536b
ios/RNDateTimePicker.m
@@ -51,4 +51,11 @@ - (void)setMinuteInterval:(NSInteger)minuteInterval
51
_reactMinuteInterval = minuteInterval;
52
}
53
54
+- (void)setDate:(NSDate *)date {
55
+ // Need to avoid the case where values coming back through the bridge trigger a new valueChanged event
56
+ if (![self.date isEqualToDate:date]) {
57
+ [super setDate:date];
58
+ }
59
+}
60
+
61
@end
0 commit comments