mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-02-06 07:04:57 +00:00
pass all data attributes to updater of typeahead
This commit is contained in:
parent
086a231b1f
commit
225c601760
|
@ -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()
|
||||
|
|
Loading…
Reference in New Issue
Block a user