material-table
material-table copied to clipboard
In V 1.57.2 - > New Row Data not added to table data
Describe the bug In v 1.57.2 - > when I am trying to add new row, row is not adding to the table
To Reproduce Steps to reproduce the behavior:
- Go to 'Click New row'
- Click on 'insert data'
- Click save
- loading bar and after nothing will be saved
Desktop (please complete the following information):
- OS: Windows 10
- Browser Chrome
- Version 80.0
Smartphone (please complete the following information):
- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Browser [e.g. stock browser, safari]
- Version [e.g. 22]
Additional context Add any other context about the problem here.
Problem faced : OnRowadd I mutated the state and re rendered the state using set State and force update but not working.
Resolution: Immutable concept then re rendered the state working as expected
You might need to update the sample code.
Thank you,