Merge pull request #2481 from sbilstein/master
Fixes #2434 Prevents whitespace only tags from being created
This commit is contained in:
commit
fdad112682
@ -2953,7 +2953,7 @@ the specific language governing permissions and limitations under the Apache Lic
|
||||
// multi
|
||||
onSelect: function (data, options) {
|
||||
|
||||
if (!this.triggerSelect(data)) { return; }
|
||||
if (!this.triggerSelect(data) || data.text === "") { return; }
|
||||
|
||||
this.addSelectedChoice(data);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user