DateField/TimeField are broken when full-width chatacter is input.
- Dominant language
- TypeScript
- Stars
- 15.9k
- Forks
- 1.6k
- Avg merge
- 3d 9m
- Merged PRs (30d)
- 59
Description
# 🐛 Bug Report

https://codesandbox.io/s/recursing-meadow-20eibw?file=/src/App.js
Input a fullwidth character like `あ` for each field after `new Time(11, 11)` is set for TimeField.
## 🤔 Expected Behavior
DateField/TimeField should ignore full-width input like NumberField
## 😯 Current Behavior
When I input full-width characters, the values displayed on the field seem to stop working.
## 💁 Possible Solution
Is there a workaround to exclude non-numeric values on the DateField/TimeField?
## 🔦 Context
I tried to use `onKeyDown/onKeyUp` events to prevent users from full-width characters input, but these events are not working?
## 💻 Code Sample
## 🌍 Your Environment
| Software | Version(s) |
| ---------------- | ---------- |
| react-spectrum | 3.22.0
| Browser |
| Operating System |
## 🧢 Your Company/Team
## 🕷 Tracking Issue (optional)
Contributor guide
Assessment
This issue has not been assessed yet.