Skip to content
This repository was archived by the owner on Apr 28, 2020. It is now read-only.

Conversation

@kusmierz
Copy link

No description provided.

manuelbernhardt and others added 30 commits April 19, 2011 12:44
…pulated with one value and the limit on tokens is 1, then I am still allowed to add 2 tokens.
Fixed the issue described in #50 and #53, thanks otaviomedeiros
Adds IDs for the input fields generated by jQuery TokenInput
Don't add tokens if limit has been reached.
Adding a public method to fetch the token objects programatically
Allowing to change the value of the tokens held in the orignal input
…ighlighting. Both optional fields have their original defaults, but can be overriden using a function that recieves a results item in JSON format as its argument and returns a an HTML string. Any templating system can be used inside this function. Known bugs: (1) highlighter function cannot handle strings with characters accented with diacritics; (2) highlighter may also highlight the string term in other parts of the populated template if the value of the propertyToSearch key exists elsewhere in the template in the same case
…ion. Should Token data attributes include all attributes from the returned JSON object or only 'id' and the propertyToSearch
…happens, so that a change listener can be added to the original element
Fire a change event from the original input every time a user action takes place
New features: propertyToSearch, resultsFormatter and tokenFormatter
loopj and others added 30 commits August 15, 2011 10:11
Z-index is now working, syntax was not correct
… id. Then allow the tokenValue to be a function that is passed the item, and returns a string. This allows more complex data than just the id to be sent to the server.
Allow tokenValue to be a function for more complex use cases
This makes it possible to add new entries on the server side. See https://github.com/loopj/jquery-tokeninput/issues/11
Don't change the search term to lower case
…00px, the dropdown's width, will not fit it and it's bigger or smaller.
resolve the bug about the width of dropdown
Add functionality to toggle enabling / disabling the widget.
Added example of this functionality to demo.html

Fixes issue #47 from upstream
This was sort-of resolved by loopj#216, but the query
was still being lowercased in one place, meaning that the results were
not being rendered (!!) when the query contained uppercase chars.
…e_search_term

Fix results when query contains uppercase characters
Add toggleDisable functionality
…teURL(). Allows for greater dynamic URL functionality with references back to the original init() of the token-input.
Small change to improve dynamic URL function ability
set the real width to the dropdown so that it exactly matches its relate...
Currently tokeninput sometimes loses focus when navigating
between tokens using the keyboard in Internet Explorer.
Here we apply what seems to be the common workaround for problems
with focus behavior in IE, namely wrapping requests for focus
inside a setTimeout.
Fixes the issue by taking kuroir's suggestion of preventing
the default action. To be consistent with the rest of the
code, we do this by returning false in the event handler.
Fix for #49, IE arrow keys strangeness
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.