Topic: MDBSelect crash when data is empty
clickstudioltd pro premium priority asked a 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 a year ago
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- User: Pro
- 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