Is there any particular reason why we can only delete the main item at the top level, and not any of the elements under that ?
Is there any particular reason why we can only delete the main item at the top level, and not any of the elements under that ?
I think that it is because that would need a different interface. Deleting the object as a whole is one thing but removing a property from an object is something else.
I know this has been discussed in the past. Not sure if anything ever went onto a backlog. It certainly would be nice to have a way to edit context variables directly.
Since the context delete already understands sub props (e.g. global.set('top-level.sub-prop', undefined)
) this should be as simple as presenting the delete button on the properties (famous last words )
More recently, working on flows using lots of context, I have wished this were a feature with increasing frequency.
As I use context variables for things like caching in UIBUILDER, I would certainly like to have the ability to delete and even edit properties in them from the Editor. Would be very handy and save having to write a mini-flow to do it.