Closed steveyken closed 1 month ago
This is a work in progress.
Reading through https://select2.org/upgrading/migrating-from-35 there are some important updates when migrating from Select2 v3.5 to v4
Changes:
Select2?
$.fn.select2
.select2('val', previous_val)
.val(previous_val)
.change()
.trigger('change')
tags:[]
data: [], tags: true
This is a work in progress.
Reading through https://select2.org/upgrading/migrating-from-35 there are some important updates when migrating from Select2 v3.5 to v4
Changes:
Select2?
with$.fn.select2
.select2('val', previous_val)
is now.val(previous_val)
.change()
becomes.trigger('change')
tags:[]
becomesdata: [], tags: true