flutter_multiselect
flutter_multiselect copied to clipboard
Bad state: Too many elements
I got this error because I have a lot of elements. Can you help me to resolve that ? thanks It seems an error of dart sdk error : "Bad state: Too many elements" , That was so, when I selected 2 or 3 Element in the List here js my code in the multiple select . `dataSource: [ { "display": "9 UHR", "value": 9, }, { "display": "12 UHR", "value": 12, }, { "display": "18 UHR", "value": 18, }, { "display": "21 UHR", "value": 21, }, { "display": "10 Uhr", "value": 10 }, { "display": "11 Uhr", "value": 11 }, { "display": "12 Uhr", "value": 12 }, { "display": "13 Uhr", "value": 13 }, { "display": "14 Uhr", "value": 14 }, { "display": "15 Uhr", "value": 15 }, { "display": "16 Uhr", "value": 16 }, { "display": "17 Uhr", "value": 17 }, { "display": "18 Uhr", "value": 18 }, { "display": "19 Uhr", "value": 19 }, { "display": "20 Uhr", "value": 20 }
],`
I am also getting same error any solutions for this ?
I have created other multiple select like a dialog with check box .
@Chuvantinh @Flutter-Stack Do you guys still have this problem?
I was using other code to have a list select . but you can check the error like above . thanks . hope you have time to fix it
make sure textField: 'display', valueField: 'value', same