From 76506a51b51c961be17c342a73e0c5a534ee1ddd Mon Sep 17 00:00:00 2001 From: "Suresh, Kamlesh" Date: Tue, 16 Apr 2019 15:33:34 -0400 Subject: [PATCH] ONVIK-14895 --- MVMCoreUI/Atoms/TextFields/MFTextField.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MVMCoreUI/Atoms/TextFields/MFTextField.m b/MVMCoreUI/Atoms/TextFields/MFTextField.m index 565e086c..fb157764 100644 --- a/MVMCoreUI/Atoms/TextFields/MFTextField.m +++ b/MVMCoreUI/Atoms/TextFields/MFTextField.m @@ -561,7 +561,7 @@ - (void)setWithJSON:(NSDictionary *)json delegate:(nullable id)delegate additionalData:(NSDictionary *)additionalData { [FormValidator setupValidationWithMolecule:self delegate:(id)delegate]; FormValidator *formValidator = [FormValidator getFormValidatorForDelegate:(id)delegate]; - [self setWithMap:json bothDelegates:formValidator]; + [self setWithMap:json bothDelegates: formValidator ?: delegate ]; } #pragma mark - FormValidationProtocol