Select2 - not possible to clear all options and save empty value
Select2 - not possible to clear all options and save empty value
vladimirijus
Posts: 16Questions: 4Answers: 1
in Plug-ins
Once the value is entered and saved, it is not possible to clear all values (it is not possible to remove the last one). This is the error I receive: <b>Notice</b>: Uninitialized string offset: 0 in <b>/lib/Editor/Join.php</b> on line <b>682</b>
Here is an example: http://backend.front.rs/list.php
This discussion has been closed.
Replies
Thanks for letting me know about this. The issue turns out to be that Select2 gives a value of
null
rather than an empty array whenmultiple
values can be selected but none are.I've updated the Select2 plug-in for Editor to address this.
Allan