angular-json-tree icon indicating copy to clipboard operation
angular-json-tree copied to clipboard

Editable value

Open NikolaSimovic opened this issue 8 years ago • 1 comments

Would it be too much work to ask if it is possible to create a tree where the values are editable? And to switch between editable states with an for example "editable" attribute?

By the way, great work!

NikolaSimovic avatar Jan 20 '17 16:01 NikolaSimovic

Replace jsontree.js with this code... it helps to edit "string"values, the values you edit would be in the object you sent as parameter of the directive. for example.<json-tree object="json.object>...

cant send attachment of JS file, so here is the zip... i dont have time to make this as a pull request... if anyone can do it it will be awesome, it also can be upgraded its functionality, but this at least helped me with my task... jsontree.js.zip

image

facuxt avatar Jan 30 '17 16:01 facuxt