OnLengthChanged
Event triggered when the length of the expiration date input changes. This event helps track the progress of date input and can be used to update UI elements like progress indicators.
Parameters
length
The current number of digits entered
Example:
when (event) {
is ExpirationDateTextFieldEvent.OnLengthChanged -> {
updateProgressBar(event.length)
}
}
Content copied to clipboard