Skip to content

Commit

Permalink
Enable properties button (refs json-editor#811)
Browse files Browse the repository at this point in the history
  • Loading branch information
robocoder committed Feb 12, 2021
1 parent 0443760 commit 47c9b47
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/editors/object.js
Original file line number Diff line number Diff line change
Expand Up @@ -1149,6 +1149,8 @@ export class ObjectEditor extends AbstractEditor {

if (this.canHaveAdditionalProperties()) {
showModal = true
} else if (this.schema.patternProperties && typeof this.schema.patternProperties === 'object') {
showModal = true
}

/* Additional addproperty checkboxes not tied to a current editor */
Expand Down

0 comments on commit 47c9b47

Please sign in to comment.