You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
<Dropdownvalue={selectedDate}useOptionAsValueoptions={availableDates}onChange={(e)=>setSelectedDate(e.value)}placeholder="Select a DOS"className="date-dropdown"/>
Warning: Reactdoesnotrecognizethe`useOptionAsValue`proponaDOMelement.IfyouintentionallywantittoappearintheDOMasacustomattribute,spellitaslowercase`useoptionasvalue`instead.Ifyouaccidentallypasseditfromaparentcomponent,removeitfromtheDOMelement.atdiv
at http://localhost:5173/node_modules/.vite/deps/chunk-MAEDPHWQ.js?v=1852453c:809:20atdivatdivatdivatmainatdivatdivatdiv
at http://localhost:5173/node_modules/.vite/deps/primereact_blockui.js?v=6230d636:178:20atCodingBlock(http://localhost:5173/src/app/components/encounters/forms/CodingBlock.tsx?t=1731398116530:78:31)atCodingProvider(http://localhost:5173/src/app/hooks/Coding.tsx?t=1731398057470:125:34)
<Dropdownvalue={selectedDate}useOptionAsValueoptions={availableDates}onChange={(e)=>setSelectedDate(e.value)}placeholder="Select a DOS"className="date-dropdown"/>
Expected behavior
There should not have any warning
The text was updated successfully, but these errors were encountered:
Describe the bug
Hi all, I'm using primreact/dropdown. When using
useOptionAsValue
I'm getting warning from React.https://primereact.org/dropdown/#api.Dropdown.props.useOptionAsValue
Reproducer
No response
System Information
Steps to reproduce the behavior
Expected behavior
There should not have any warning
The text was updated successfully, but these errors were encountered: