bootstrap-tokenizer
bootstrap-tokenizer copied to clipboard
Clear the tokenizer field
How do you clean the tokenizer field?
There's currently no way yo clean the field programatically.
I was able to reset it like this:
$(".email-tags").append('');
$("#email-tokenizer").tokenizer();
Maybe you can add to the class a reset method like that.
Thanks for taking the time to answer!!
2015-12-03 5:06 GMT-05:00 Miguel Fonseca [email protected]:
There's currently no way yo clean the field programatically.
— Reply to this email directly or view it on GitHub https://github.com/fmmfonseca/bootstrap-tokenizer/issues/2#issuecomment-161579296 .
Jean Paul Ruiz Vallejo Ingeniero Informático m: (+57) 300-780-43-49 http://www.jeanpaulruizvallejo.com
I was able to do a reset like this:
$(".email-tags").empty();
$(".email-tags").append('');
$("#email-tokenizer").tokenizer();
The html looks like this:
2015-12-03 5:06 GMT-05:00 Miguel Fonseca [email protected]:
There's currently no way yo clean the field programatically.
— Reply to this email directly or view it on GitHub https://github.com/fmmfonseca/bootstrap-tokenizer/issues/2#issuecomment-161579296 .
Jean Paul Ruiz Vallejo Ingeniero Informático m: (+57) 300-780-43-49 http://www.jeanpaulruizvallejo.com