Skip to content

Commit

Permalink
[DatePicker] Fix date validation on Samsung devices
Browse files Browse the repository at this point in the history
Resolves #3628
Resolves #3625

PiperOrigin-RevId: 576953414
  • Loading branch information
paulfthomas committed Oct 26, 2023
1 parent a8307ef commit 5aa6edf
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ public void afterTextChanged(@NonNull Editable s) {
}

char nextCharHint = formatHint.charAt(s.length());
if (!Character.isDigit(nextCharHint)) {
if (!Character.isLetterOrDigit(nextCharHint)) {
s.append(nextCharHint);
}
}
Expand Down

0 comments on commit 5aa6edf

Please sign in to comment.