-
Notifications
You must be signed in to change notification settings - Fork 610
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
how to get the selected item? #16438
Comments
I think you need to take a look at (but excellent point re: the event. We need to include this as an event property) |
I think checking the underlying html element's value would be at par with using |
@slavugan Do you want to get selected DOM element |
Separate Read about different |
Selected suggestion item is available as Awesomplete.$.bind(input, {
"awesomplete-selectcomplete": function(evt) {
console.log(evt.text); // String {label: "Java", value: "Java", valueOf: function, toString: function}
}
}); |
how can I get the selected item in awesomplete-select or awesomplete-selectcomplete handler? I have complex item like
and I need to get the selected item from list to create custom datapasting
The text was updated successfully, but these errors were encountered: