nextui-org / nextui

🚀 Beautiful, fast and modern React UI library.
https://nextui.org
MIT License
21.48k stars 1.4k forks source link

[BUG] - React does not recognize the `isDisabled` prop on a DOM element. #2626

Closed mustafahalabi closed 5 months ago

mustafahalabi commented 5 months ago

NextUI Version

2.2.10

Describe the bug

Warning: React does not recognize the `isDisabled` prop on a DOM element. If you intentionally want it to appear in the DOM as a custom attribute, spell it as lowercase `isdisabled` instead. If you accidentally passed it from a parent component, remove it from the DOM element.
    at button
    at eval (webpack-internal:///(ssr)/./node_modules/@nextui-org/popover/dist/chunk-2U2X4IMV.mjs:24:115)      
    at eval (webpack-internal:///(ssr)/./node_modules/@nextui-org/dropdown/dist/chunk-63RZRIL7.mjs:15:108)     
    at eval (webpack-internal:///(ssr)/./node_modules/@nextui-org/popover/dist/chunk-LOWKC34K.mjs:21:13)       
    at Dropdown (webpack-internal:///(ssr)/./node_modules/@nextui-org/dropdown/dist/chunk-XLXG7E33.mjs:17:13) 

Your Example Website or App

No response

Steps to Reproduce the Bug or Issue

Signed in as

{user?.email}

My Profile My Orders Log Out
### Expected behavior Not to throw the error. ### Screenshots or Videos ![image](https://github.com/nextui-org/nextui/assets/45153433/1057d25d-a571-4631-baea-273e141a3f10) ### Operating System Version Windows 11 ### Browser Chrome
linear[bot] commented 5 months ago

ENG-595 [BUG] - React does not recognize the `isDisabled` prop on a DOM element.

wingkwong commented 5 months ago

Handled in https://github.com/nextui-org/nextui/pull/2522. Please wait for the next release.

ImSingee commented 5 months ago

@wingkwong Thanks for fixing this! Is there any ETA for the release? This warning is really annoying.

wingkwong commented 5 months ago

@wingkwong Thanks for fixing this! Is there any ETA for the release? This warning is really annoying.

@ImSingee I'll leave @jrgarciadev to answer this question.

mustafahalabi commented 5 months ago

@wingkwong @jrgarciadev any updates about the ETA for the release ?

wingkwong commented 5 months ago

@mustafahalabi target on 15 Apr

ducan-ne commented 5 months ago

@mustafahalabi did you noticed this change in your side? it seem like I still getting this in v2.3.0, not sure about the others

CleanShot 2024-04-16 at 22 59 38@2x

wingkwong commented 5 months ago

@ducan-ne please DM me at discord

ducan-ne commented 5 months ago

@wingkwong can't send message to you directly, just sent a friend request