-
Notifications
You must be signed in to change notification settings - Fork 659
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Take postalCode
into account in CardMultilineWidget
validation
#4574
Conversation
} | ||
|
||
override fun onAttachedToWindow() { | ||
super.onAttachedToWindow() | ||
postalCodeEditText.config = PostalCodeEditText.Config.Global | ||
cvcEditText.hint = null |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure why this was in onAttachedToWindow
, but it seems wrong since it'll overwrite any value set during onCreate
, after the view was already created. Moved to the end of init so that doesn't happen.
Diffuse output:
APK
DEX
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Probably worth a quick check with react native to make sure things are still working there too, given the change to the postal config checking.
Summary
Take into account the
postalCode
field forCardValidCallback
validation when it is required in theCardMultilineWidget
. Same behavior introduced in #4202 forCardInputWidget
.Motivation
RUN_MOBILESDK-724
Testing