question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Select row checkbox error

See original GitHub issue

This is my configuration: selectRow={{ mode: ‘checkbox’, clickToSelect: true, classes: ‘selection-table-row’, onSelect: (rowKey, checked, rowIndex) => { debugger; }, onSelectAll: (option) => { debugger; } }}

Error is: Warning: Failed prop type: You provided a checked prop to a form field without an onChange handler. This will render a read-only field. If the field should be mutable use defaultChecked. Otherwise, set either onChange or readOnly. in input (created by CheckBox) in CheckBox (created by SelectionHeaderCell) in th (created by SelectionHeaderCell) in SelectionHeaderCell (created by Header) in tr (created by Header) in thead (created by Header) in Header (created by BootstrapTable) in table (created by BootstrapTable) in div (created by BootstrapTable) in BootstrapTable (created by PaginationWrapper) in PaginationWrapper (created by SortWrapper) in SortWrapper (created by CellEditWrapper) in CellEditWrapper (created by RowSelectionWrapper) in RowSelectionWrapper (created by BootstrapTableContainer) in BootstrapTableContainer (created by Users) in div (created by Users) in Users (created by Route) in Route (created by Full) in Switch (created by Full) in div (created by Container) in Container (created by Full) in main (created by Full) in div (created by Full) in div (created by Full) in Full (created by Route) in Route (created by IsLoggedInSwitch) in Switch (created by IsLoggedInSwitch) in IsLoggedInSwitch in Switch in Router (created by HashRouter) in HashRouter in div

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:11 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
AllenFangcommented, Aug 21, 2018

we fixed this issue in react-bootstrap-table-next@1.1.2, check this

1reaction
cbfrankcommented, Jul 6, 2018

I get the same error: Failed prop type: You provided a checked prop to a form field without an onChange handler. This will render a read-only field. If the field should be mutable use defaultChecked. Otherwise, set either onChange or readOnly

The warning shows: in input (created by CheckBox) in CheckBox (created by SelectionHeaderCell) in th (created by SelectionHeaderCell) in SelectionHeaderCell (created by Header) in tr (created by Header) in thead (created by Header) in Header (created by BootstrapTable) in table (created by BootstrapTable) in div (created by BootstrapTable) in BootstrapTable (created by CellEditWrapper) in CellEditWrapper (created by RowSelectionWrapper) in RowSelectionWrapper (created by Table) in Table (created by Table) in Table (created by AppDefaultTable) in div (created by AppDefaultTable) in AppDefaultTable (created by Table) in Table (created by Page) in div (created by Row) in div (created by Row) in div (created by Row) in article (created by Row) in div (created by Row) in Row (created by Page) in section (created by PageLayout) in PageLayout (created by Page) in Page (created by Connect(Page)) in Connect(Page) (created by Route) in Route (created by App) in Router (created by BrowserRouter) in BrowserRouter (created by App) in Provider (created by App) in App

Read more comments on GitHub >

github_iconTop Results From Across the Web

Error when selecting rows with checkbox in datatables
I have the following problem: I am following these tutorials to be able to save the data in array through each row selected...
Read more >
Error when selecting rows with checkbox in datatables
Hi, I have the following problem: I am following these tutorials to be able to save the data in array through each row...
Read more >
Checkbox Error - Studio - UiPath Community Forum
I want to first select the first 50, then download them and pick 50 more in ... row which you mentioned will the...
Read more >
Error/Bug? when you have a GRId with ... - Syncfusion
I have an error in a grid with allowRowDragAndDrop = true And a checkbox select column. When the grid is loaded, I need...
Read more >
WebDynpro Table Selection checkbox error - SAP Community
Hello, experts. I create a table in webdypro. However, the checkmark dosen't display when I select row. Please tell me how to display ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found