Select2 - not possible to clear all options and save empty value

Select2 - not possible to clear all options and save empty value

vladimirijusvladimirijus Posts: 16Questions: 4Answers: 1

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

Replies

  • allanallan Posts: 57,236Questions: 1Answers: 9,113 Site admin

    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 when multiple values can be selected but none are.

    I've updated the Select2 plug-in for Editor to address this.

    Allan

This discussion has been closed.