ShortFormat
Represents the short format for expiration dates (MM/YY). This format requires 4 digits (2 for month, 2 for year) and displays them in the format MM/YY.
The format is commonly used for most payment cards and provides a concise way to enter expiration dates.
Example:
// Use in text field
ExpirationDateTextField(
state = state,
onEvent = { /* handle events */},
dateFormat = ExpirationDateFormat.ShortFormat
)
Content copied to clipboard