Table editor plugin adds blank rows when the table is empty


Topic: Table editor plugin adds blank rows when the table is empty

WingedImagination pro premium priority asked 3 years ago

*Expected behavior*Adding a new row with data if the array is empty

*Actual behavior*Adding a new row without data (with the possibility of deleting / editing, but editing doesn't work) if the array is empty (next ones are also empty)


Everything works fine as long as the table has some data, when there is no data - it cannot be added properly.[plugin downloaded today by npm]

edit: checked on examples (with and without modals) taken 1: 1 from the website: https://mdbootstrap.com/docs/b5/react/plugins/table-editor/#docsTabsOverview


This is a bug we will try to fix as soon as possible (probably in the next release). Thanks for reporting it.


Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Answered

Specification of the issue
  • User: Pro
  • Premium support: Yes
  • Technology: MDB React
  • MDB Version: MDB5 1.4.0
  • Device: mac
  • Browser: Google Chrome
  • OS: macOS
  • Provided sample code: No
  • Provided link: Yes