Delete Property
See original GitHub issueGeneral information
- json-editor version: 2.5.4
Expected behavior
An easy way to delete a property or property value.
For example see link below. In our case this has become more noticeable when using format: file
, once you select a photo/picture and save, there is then no easy way to delete the image you uploaded, you need to actually edit the json and remove the base64 contents, which is of course cumbersome. This could apply to any proprty, not just format: file
, I think a simple x
or delete options like are available for arrays
would be useful, or perhaps configurable per property.
Actual behavior
You are unable to delete easilly.
Steps to reproduce the behavior
{
"title": "Person",
"type": "object",
"required": [
"name",
"profile_pic"
],
"properties": {
"name": {
"type": "string",
"description": "First and Last name",
"minLength": 4,
"default": "Jeremy Dorn"
},
"profile_pic": {
"format": "file",
"media": {
"binaryEncoding": "base64"
},
"type": "string"
}
}
}
Issue Analytics
- State:
- Created 2 years ago
- Comments:15
Top Results From Across the Web
delete operator - JavaScript - MDN Web Docs - Mozilla
The delete operator removes a property from an object. If the property's value is an object and there are no more references to...
Read more >How To Remove a Property from a JavaScript ... - W3Schools
The delete operator deletes both the value of the property and the property itself. After deletion, the property cannot be used before it...
Read more >Delete a property - Analytics Help - Google Support
Sign in to Google Analytics.. Click Admin, and navigate to the property you want to delete. In the PROPERTY column, click Property Settings....
Read more >How to Delete a Property in Google Analytics? - MarketLytics
Login to your analytics account · Navigate to admin >> property >> property settings. Click on the move to trash button on top...
Read more >How to Remove a Property from a JavaScript ... - freeCodeCamp
Let's go through each of these methods in this tutorial. Remove a Property from a JS Object with the Delete Operator. delete is...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@bhagyamudgal no objections from me
Created a separate issue for our discussion.