pass all data attributes to updater of typeahead

This commit is contained in:
Uwe Steinmann 2021-03-26 07:47:08 +01:00
parent 086a231b1f
commit 225c601760

View File

@ -46,7 +46,8 @@
constructor: Typeahead
, select: function () {
var val = this.$menu.find('.active').attr('data-value')
// var val = this.$menu.find('.active').attr('data-value')
var val = this.$menu.find('.active').data()
this.$element
.val(this.updater(val))
.change()