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] Button not recognizing pending state of useFormStatus hook #4397

Open
TheFabi8A opened this issue Dec 18, 2024 · 4 comments
Open

[BUG] Button not recognizing pending state of useFormStatus hook #4397

TheFabi8A opened this issue Dec 18, 2024 · 4 comments
Assignees
Labels
📦 Scope : Components Related to the components 🐛 Type: Bug Something isn't working 🔔 Type: Warning

Comments

@TheFabi8A
Copy link

NextUI Version

2.6.8

Describe the bug

The useFormStatus hook only works on the default HTML button

Your Example Website or App

No response

Steps to Reproduce the Bug or Issue

  1. Click on button

Expected behavior

I was expecting the text, color and enabled state to change.

Screenshots or Videos

2024-12-18.09-26-50.mp4

Operating System Version

Windows

Browser

Chrome

Copy link

linear bot commented Dec 18, 2024

@wingkwong
Copy link
Member

please provide a minimal reproducible environment for faster investigation.

@TheFabi8A
Copy link
Author

please provide a minimal reproducible environment for faster investigation.

https://stackblitz.com/edit/vitejs-vite-yrx2ae1x?file=src%2FFeedbackForm.tsx

@ryo-manba
Copy link
Member

It might be a bug in the upstream. I've created an issue.
Button does not recognize the pending state of useFormStatus · Issue #7543 · adobe/react-spectrum

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
📦 Scope : Components Related to the components 🐛 Type: Bug Something isn't working 🔔 Type: Warning
Projects
None yet
Development

No branches or pull requests

3 participants