Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

It's possible to add a readonly feature ? #148

Open
pierrelesek opened this issue Aug 31, 2018 · 3 comments
Open

It's possible to add a readonly feature ? #148

pierrelesek opened this issue Aug 31, 2018 · 3 comments

Comments

@pierrelesek
Copy link

Hello,
This javascript library is very great.

I have only 1 suggestion, it's to add a readonly parameters to make the tag not deletable (for a simple user who can't delete tags)

Thank you,
i will try to develop the feature in //

@donalod
Copy link

donalod commented Sep 19, 2018

A also looking for a super simple way to prevent editing.

@pierrelesek
Copy link
Author

Yes @donalod

i want to prevent editing for some users for example :)

@abenfield
Copy link

abenfield commented Apr 24, 2019

I'm facing the same problem. Did you guys figure out a way for read only? Thanks

Edit: My solution, albeit not an elegant solution, but it gets the job done for my use was to add a class to jquery-tag-editor.css that would set pointer events to none and give the class to the parent div surrounding the tag editor and on the tag editor itself.
.read-only-tags { pointer-events: none; }

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

No branches or pull requests

3 participants