Replies: 2 comments 3 replies
-
You can indeed select a range of multiple items using svelte-jsoneditor/src/lib/types.ts Lines 70 to 74 in 2699b71 For example: selection: {
type: SelectionType .multi,
anchorPath: ['myArray', 2],
focusPath: ['myArray', 7],
} To get examples, create your editor with an |
Beta Was this translation helpful? Give feedback.
-
Thanks for your reply. do you think it could be a feature in a next release ? |
Beta Was this translation helpful? Give feedback.
-
Hi,
in the documentation the tree mode supports MultiSelection.
If I understand good the multiselection, it means I can select several elements of my json tree.
I added
selection: 'MultiSelection',
in my declaration but I have this js errorindex.js:1 Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'length')
Did I understood badly the MultiSelection implementation ?
Beta Was this translation helpful? Give feedback.
All reactions