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

Add a "viewer" prop that can lock down *all* editing #168

Closed
CarlosNZ opened this issue Feb 11, 2025 · 0 comments · Fixed by #173
Closed

Add a "viewer" prop that can lock down *all* editing #168

CarlosNZ opened this issue Feb 11, 2025 · 0 comments · Fixed by #173
Assignees
Labels
enhancement New feature or request

Comments

@CarlosNZ
Copy link
Owner

Currently, you have to set three different props: restrictEdit, restrictAdd, and restrictDelete to prevent all editing. If you just want a quick way to turn this into a viewer-only, there should be viewer prop that will take the place of those three.

It would be boolean only, no functions.

@CarlosNZ CarlosNZ self-assigned this Feb 11, 2025
@CarlosNZ CarlosNZ added the enhancement New feature or request label Feb 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant