Topic: MDBSelect crash when data is empty

clickstudioltd priority asked 1 year ago


Select component crashes the UI if the data attribute is an empty array.

import React from 'react';
import { MDBSelect } from 'mdb-react-ui-kit';

export default function App() {
  return <MDBSelect label="Test" data={[]} />;
}

Grzegorz Bujański staff answered 1 year ago


Thanks for reporting, we'll fix it as soon as possible



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

  • ForumUser: Priority
  • Premium support: Yes
  • Technology: MDB React
  • MDB Version: MDB5 6.1.0
  • Device: PC
  • Browser: Mozilla Firefox
  • OS: Windows 10
  • Provided sample code: No
  • Provided link: No
Tags