mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-13 08:09:41 +00:00
ui: text and value for #2381
This commit is contained in:
parent
bc788f9727
commit
dee48af9b1
@ -154,8 +154,9 @@
|
||||
|
||||
this.searchInput.on('blur', function(){
|
||||
if($this.searchInput.val()){
|
||||
if ($('li.Hover', this.dropdown).length > 0) {
|
||||
$this.tokenAdd($('li.Hover', this.dropdown).data('text'));
|
||||
hover_selection = $('li.Hover', this.dropdown);
|
||||
if (hover_selection.length > 0) {
|
||||
$this.tokenAdd(hover_selection.attr('data-value'), hover_selection.attr('data-text'));
|
||||
} else {
|
||||
$this.tokenAdd($this.searchInput.val(), '');
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user