Skip to content

How can I run the json editor in a read only mode from the start? #3047

Closed Answered by falkoschindler
sabinem asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @sabinem,

This seems to work:

ui.json_editor({
    'content': {'json': {'A': 1, 'B': 2}},
    'readOnly': True,
})

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@sabinem
Comment options

Answer selected by sabinem
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants