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

Question: How to hide some of the options from option . #136

Open
gitsunny404 opened this issue Feb 21, 2024 · 1 comment
Open

Question: How to hide some of the options from option . #136

gitsunny404 opened this issue Feb 21, 2024 · 1 comment

Comments

@gitsunny404
Copy link

I was using this package inmy angular application. Now, I need to remove the some of the option it provides in the 'tree' node mode of the ang-jsoneditor. I want to remove the "duplicate" and "remove" options from the option. How can I do it? I tried to check into the package itself and the issues as well but I didn't get the solution.

You help will be highly appreciated Thanks.

@mariohmol
Copy link
Owner

Did u try setting the modes array with the ones you want ? should be something in this file JsonEditorOptions

Mabye check how the jsoneditor works, and if is possible there should be possible in this one

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

2 participants