Clear input after creating tag (#5053)
When using the taglist field type, the input isn't cleared after a tag has been created. This problem is described here: https://github.com/select2/select2/issues/4698 This change fixes that issue.
This commit is contained in:
parent
745bdf9022
commit
3be6e26e84
|
|
@ -127,7 +127,7 @@
|
|||
*/
|
||||
if ($element.hasClass('select-no-dropdown')) {
|
||||
extraOptions.selectOnClose = true
|
||||
extraOptions.closeOnSelect = false
|
||||
extraOptions.closeOnSelect = true
|
||||
extraOptions.minimumInputLength = 1
|
||||
|
||||
$element.on('select2:closing', function() {
|
||||
|
|
|
|||
Loading…
Reference in New Issue