hernantz / jsuggest Goto Github PK
View Code? Open in Web Editor NEWA jQuery seach suggestion plugin that "tokenizes / taggifies" the selected items
A jQuery seach suggestion plugin that "tokenizes / taggifies" the selected items
It should delete the item like Apple does when you hit backspace one character after the item.
On the selection click I need to get the data that the item is linked to. I can't find it anywhere in the elem that is passed. The event, like selectionAdded and selectionRemoved needs to accept a data parameter with the information.
Thanks! Great control!
I have a data source that is being passed "dea" and returnning a result
However I get the drop down showing me "no results"
The data is returning ID and Name properties in the array and the retrieveComplete is passing the single result from the data source.
What am I doing wrong?
Here's my markup:
$("#acAttendees").jSuggest({
source: "/api/v1/contacts/SearchContacts",
selectedItemProp: "Name",
selectedValuesProp: "ID",
searchObjProps: "Name",
queryParam: "SearchText",
extraParams: "&AssociatesOnly=true",
selectionClick: function(elem, data) {
debugger;
},
selectionAdded: function(elem, data) {
debugger;
},
selectionRemoved: function(elem, data) {
debugger;
elem.remove();
},
retrieveComplete: function(data) {
return data.results; //OData.
}
});
Hi, I have been working on some enhancements and bug fixes to jSuggest and I'm not sure of the best way to include same in your release or to fork or ?? I've not realy used Github other than as a browser of code,
Neville
I want to do something like: every time the user clicks on a button a popup opens, loads data from the server, updates the jSuggest data source, and resets jSuggest input field.
is this possible?
I also noticed that you stopped working on jSuggest, do you suggest another plugin or a widget that could serve me?
Thank you in advance.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.