react-spectrum
a53e4dff - DatePicker persisting valid TimeField value (#4648)

Comment changes are shownComment changes are hidden
Commit
1 year ago
DatePicker persisting valid TimeField value (#4648) * persisting valid DatePicker TimeField value * test that fails locally passes on production * test that fails locally passes on production * more lint and test cleanup * moving and refactoring the conditionally valid time logic * fixing a times called in a test * picking up the initial spin button change for time segments * lint equals fix * changing clearedSegment to a ref since we don't need it to render * adding current month and year to test
Author
Parents
  • packages
    • @react-spectrum/datepicker
      • stories
        • File
          DatePicker.stories.tsx
      • test
        • File
          DatePicker.test.js
        • File
          DateRangePicker.test.js
    • @react-stately/datepicker/src
      • File
        useDateFieldState.ts