Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: TimePicker - clear button doesn't work when freeform and clearable are enabled #31123

Open
2 tasks done
khoait opened this issue Apr 19, 2024 · 0 comments · May be fixed by #31324
Open
2 tasks done

[Bug]: TimePicker - clear button doesn't work when freeform and clearable are enabled #31123

khoait opened this issue Apr 19, 2024 · 0 comments · May be fixed by #31324

Comments

@khoait
Copy link

khoait commented Apr 19, 2024

Library

React Components / v9 (@fluentui/react-components)

System Info

System:
    OS: Linux 5.0 undefined
    CPU: (8) x64 Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz
    Memory: 0 Bytes / 0 Bytes
    Shell: 1.0 - /bin/jsh

Are you reporting Accessibility issue?

None

Reproduction

https://stackblitz.com/edit/m5haoq?file=src%2Fexample.tsx

Bug Description

Actual Behavior

When freeform and clearable are enabled at the same time, clicking the clear button doesn't clear the input and/or value

Expected Behavior

Clicking the clear button should clear the input and selectedTime and value state

Logs

No response

Requested priority

Normal

Products/sites affected

No response

Are you willing to submit a PR to fix?

yes

Validations

  • Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
  • The provided reproduction is a minimal reproducible example of the bug.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants