Skip to content

Conversation

@jjwilliams
Copy link

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.

@jjwilliams
Copy link
Author

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.

@johnnyshields
Copy link
Collaborator

Why show the input box at all if in read only mode?

@jjwilliams42
Copy link

Good point, I could just hide it altogether. I'll look into that tomorrow.

@jjwilliams
Copy link
Author

Hid the textbox if readOnly

@hposkanzer hposkanzer mentioned this pull request Apr 18, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants