maxwells / bootstrap-tags

Bootstrap-themed jquery tag interface
MIT License
548 stars 133 forks source link

promptText option ignored on initialization #59

Open havok2063 opened 9 years ago

havok2063 commented 9 years ago

I'm trying to have my own promptText on tagbox initialization, but it's not working. I can only get it to work after a tag is input, and then removed. Upon tag initialization, the default promptText of "Enter tags.." is used, and my option is ignored. This is what I'm using.

function initTags(name) { var tagbox = $(name).tags({ tagData:[], tagSize:'sm', suggestions:[], promptText:'Enter a word or phrase and press Return', caseInsensitive: true }); } How can I fix this? I've tried clearing my cache, and session, and reloading everything from scratch. No such luck. Thanks.