Holiday Notice: Support will be provided on a limited scale from December 24th, 2024, to January 2nd, 2025. Happy holidays and a wonderful New Year!


Topic: Checkbox value changing automatically when changing the page

Minsaf Mohamed free asked 3 years ago


Im using mdbreact package to display the data in a datatable. In the datatable I have a column with checkbox to change the value. When I check or Uncheck and move to the second page, the values of the checkbox in the second page is also changing. How do I sort this issue?


Krzysztof Wilk staff commented 3 years ago

Hi!

Could you paste a code example for this issue? Do you use Next.js in your project or other technology? It will be useful to find a problem :) There is probably a bug in our package but we want to make sure. For now, you can try using localStorage, cookies, or just state management to avoid that :)

Keep coding!



Please insert min. 20 characters.

FREE CONSULTATION

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

Status

Opened

Specification of the issue

  • ForumUser: Free
  • Premium support: No
  • Technology: MDB React
  • MDB Version: MDB4 5.1.0
  • Device: Laptop
  • Browser: Chrome
  • OS: Windows 10
  • Provided sample code: No
  • Provided link: Yes