You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 27, 2023. It is now read-only.
Multiselect::$data” attribute cannot be blank or an empty array. php is the error produced when given an empty array.
Could we instead have it so that nothing appears in the drop-down otherwise it massively limits our ability to use the widget without checking if it's empty first and then we don't have that form attribute available to use on submit (this was unexpected behaviour from the plugin since Select2 accepts an empty array). Many people won't have test cases for it if they're dynamically populating the drop-down and don't expect the array to ever return empty unless an edge case is hit.
The text was updated successfully, but these errors were encountered:
Multiselect::$data” attribute cannot be blank or an empty array. php is the error produced when given an empty array.
Could we instead have it so that nothing appears in the drop-down otherwise it massively limits our ability to use the widget without checking if it's empty first and then we don't have that form attribute available to use on submit (this was unexpected behaviour from the plugin since Select2 accepts an empty array). Many people won't have test cases for it if they're dynamically populating the drop-down and don't expect the array to ever return empty unless an edge case is hit.
The text was updated successfully, but these errors were encountered: