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

ToggleButton: Invalid DOM property readonly. Did you mean readOnly? #6246

Closed
RebinTahir opened this issue Mar 28, 2024 · 1 comment
Closed
Labels
Resolution: Duplicate Issue has already been reported or a pull request related to same issue has already been submitted
Milestone

Comments

@RebinTahir
Copy link

Describe the bug

yes i know this may be typing mistake but it stop the component functionality Toggle button could you please fix this small error and publish it , thanks in regard.

Reproducer

No response

PrimeReact version

10.5.3

React version

18.x

Language

ES6

Build / Runtime

Create React App (CRA)

Browser(s)

No response

Steps to reproduce the behavior

  1. intall primereact.
  2. use Togglebutton component as in documentation in primereact website use first example.
  3. then navigate to main page where you shown the togglebutton component and open dev tools, you will see below message
  4. chunk-XBHG3ID7.js?v=1a63267d:521 Warning: Invalid DOM property readonly. Did you mean readOnly?
    at input
    at div
    at http://[::1]:5173/node_modules/.vite/deps/primereact_togglebutton.js?v=1a63267d:156:20
    at div
    at div
    at div
    at div
    at div
    at div
    at div
    at div
    at div
    at div
    at http://[::1]:5173/node_modules/.vite/deps/primereact_tabview.js?v=1a63267d:295:20
    at div
    at Purchase (http://[::1]:5173/resources/js/Pages/section/Purchase.jsx?t=1711653163798:39:83)
    at div
    at main
    at div
    at Authenticated (http://[::1]:5173/resources/js/Layouts/AuthenticatedLayout.jsx:24:41)
    at Dashboard (http://[::1]:5173/resources/js/Pages/Dashboard.jsx?t=1711653163798:25:37)
    at w2 (http://[::1]:5173/node_modules/.vite/deps/@inertiajs_react.js?v=1a63267d:3711:25)
    at LaravelReactI18nProvider (http://[::1]:5173/node_modules/.vite/deps/laravel-react-i18n.js?v=1a63267d:307:9)
    at PrimeReactProvider2 (http://[::1]:5173/node_modules/.vite/deps/chunk-V2A7GGAL.js?v=1a63267d:3509:26)

Expected behavior

No response

@RebinTahir RebinTahir added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Mar 28, 2024
@melloware
Copy link
Member

Already fixed: #6188 for next release

@melloware melloware added this to the 10.6.0 milestone Mar 28, 2024
@melloware melloware added Resolution: Duplicate Issue has already been reported or a pull request related to same issue has already been submitted and removed Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible labels Mar 28, 2024
@melloware melloware closed this as not planned Won't fix, can't repro, duplicate, stale Mar 28, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Resolution: Duplicate Issue has already been reported or a pull request related to same issue has already been submitted
Projects
None yet
Development

No branches or pull requests

2 participants