5
$("#responsible").tokenInput(
[
{id: 7, name: "[email protected]"},
{id: 11, name: "[email protected]"},
{id: 13, name: "[email protected]"},
{id: 17, name: "[email protected]"},
{id: 19, name: "[email protected]"},
{id: 23, name: "[email protected]"},
{id: 29, name: "[email protected]"},
{id: 31, name: "[email protected]"}
],{
prePopulate: respArray,
hintText: "Enter mailid",
allowCustomEntry: true,
theme : "facebook",
noResultsText: "O noes",
searchingText: "Searching...",
minChars: 1,
tokenLimit: 1,
tokenValue: "name",
preventDuplicates: true
}
);
- Token Input Plugins wird nicht für benutzerdefinierte Eintrag arbeiten. Sobald sich der Cursor außerhalb der Eingabe befindet, wird der Text von der Eingabe verschwinden. Wie kann ich dieses Problem lösen?
Für https://github.com/loopj/jquery-tokeninput 1.6.1 versio versuchen allowFreeTagging: True Option. – Cindrella