This commit is contained in:
Pfeil, Scott Robert 2019-06-04 12:43:28 -04:00
commit ab0621cb82
2 changed files with 5 additions and 0 deletions

View File

@ -116,6 +116,7 @@
- (void)inputFromDatePickerFromDate:(nullable NSDate *)fromDate toDate:(nullable NSDate *)toDate showFromDateAsDefaultInput:(BOOL)show;
- (void)setDatePickerFromDate:(nullable NSDate *)fromDate toDate:(nullable NSDate *)toDate;
- (nonnull NSDate *)dismissDatePicker;
- (void)dismissPicker;
//get all enabled textfields, can be pairly used with the primary button's handleEnablingWithTextFields if you only want the enable testfield's validation to be tested
+ (nullable NSArray *)getEnabledTextfields:(nullable NSArray <MFTextField *>*)textFieldToDetermine;

View File

@ -181,6 +181,10 @@
return pickedDate;
}
- (void)dismissPicker {
[self.textField resignFirstResponder];
}
- (void)setErrorMessage:(NSString *)errorMessage {
[MVMCoreDispatchUtility performBlockOnMainThread:^{