IsValid
Event triggered when the expiration date validation status changes. This event indicates whether the entered date is valid according to the validation rules, including checks for past dates and valid month values.
Parameters
isValid
Whether the expiration date is valid
Example:
when (event) {
is ExpirationDateTextFieldEvent.IsValid -> {
if (event.isValid) {
enableNextButton()
} else {
showValidationError()
}
}
}
Content copied to clipboard