Get an error after enabling insertRow.
See original GitHub issueI get the following error after enabling ‘insertRow’ props.
Uncaught (in promise) Error: react-modal: You must set an element with `Modal.setAppElement(el)` to make this accessible
at validateElement (ariaAppHider.js:31)
at show (ariaAppHider.js:18)
at Object.toggle (ariaAppHider.js:26)
at Object.renderPortal (Modal.js:100)
at Object.componentDidMount (Modal.js:66)
at react-dom.js:4719
at measureLifeCyclePerf (react-dom.js:4529)
at react-dom.js:4718
at CallbackQueue.notifyAll (react-dom.js:948)
at ReactReconcileTransaction.close (react-dom.js:11398)
The table content shows correctly, but the pagination is malfunctional. The snippet is below.
<BootstrapTable data={ this.state.datas } pagination striped hover condensed insertRow={ true } options={this.options}>
<TableHeaderColumn width='100' dataField='key' isKey autoValue={true} hidden hiddenOnInsert>rID</TableHeaderColumn>
<TableHeaderColumn width='150' dataField='date' editable={this.editable.date} dataSort>Date</TableHeaderColumn>
<TableHeaderColumn width='100' dataField='kind' editable={this.editable.kind}>Kind</TableHeaderColumn>
<TableHeaderColumn width='150' dataField='note' editable={this.editable.note}>Note</TableHeaderColumn>
<TableHeaderColumn width='150' dataField='number' editable={this.editable.number} dataSort>number</TableHeaderColumn>
<TableHeaderColumn width='150' dataField='picture' hidden hiddenOnInsert>Picture</TableHeaderColumn>
<TableHeaderColumn width='100' dataField='tag' editable={this.editable.tag}>Tag</TableHeaderColumn>
<TableHeaderColumn width='100' dataField='type' editable={this.editable.type}>Type</TableHeaderColumn>
</BootstrapTable>
this.editable = {
date: {type: 'datetime'},
kind: {type: 'select', options: {values: this.selections.kinds}},
tag: {type: 'select', options: {values: this.selections.tags}},
note: {validator: this.fieldNoteValidator},
number: {validator: this.fieldNumberValidator},
type: {validator: this.fieldTypeValidator}
};
What do I miss ?
Issue Analytics
- State:
- Created 7 years ago
- Comments:19 (9 by maintainers)
Top Results From Across the Web
Get Memory Error for Insert Row in Excel Sheet
I'm experiencing an out of memory error when trying to insert a blank row in an Excel spreadsheet. The weird part is that...
Read more >Error in excel when you Insert Column or Row in Excel (Solved)
Let's Fix Error in Excel while inserting rows or column · 1. Click the heading cell in the first blank column to the...
Read more >Insert row above and insert row below not working after ...
I was doing the child/parent operations. It looks like this bug is a regression from v 1.15. 1 . I have reported this...
Read more >Solved: cursor.insert row error - Esri Community
I am trying to run a script as a tool but i get an error on cursor. ... Add_points (Tool)""" def __init__(self): self.enabled...
Read more >Insert Row At End Of Section Error - Stack Overflow
The error message says it all. You mustn't insert the row until you've updated the model data to have the extra row.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
No need to apologize. This a nice library.
I’m glad you are willing to take some time to do that. And hope it would not bother you too much.
I will try it, too.
@came sorry for lately reply,
v4.3.0
have newest dependency onreact-modal@3.1.7
, you can check this.