tagmanager
tagmanager copied to clipboard
Added readOnly option
This will make the input box readonly, and remove the tagCloseIcon from being rendered.
Fairly simple - I might be missing something. Wasn't sure if I should .attr('readonly', true) the field or disable the field. Readonly will still get posted, although I'm not sure why a tagManager's textbox would need to be posted back.
Also I don't know if this is needed: opts.backspace = [];//clear out the ability to delete on backspace chars I guess I have visions of rogue browsers allowing users to type into readonly fields.
Why show the input box at all if in read only mode?
Good point, I could just hide it altogether. I'll look into that tomorrow.
Hid the textbox if readOnly