@json-editor/json-editor 2.13.0 → 2.13.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3,7 +3,7 @@
3
3
  * * @name JSON Editor
4
4
  * * @description JSON Schema Based Editor
5
5
  * * This library is the continuation of jdorn's great work (see also https://github.com/jdorn/json-editor/issues/800)
6
- * * @version "2.13.0"
6
+ * * @version "2.13.1"
7
7
  * * @author Jeremy Dorn
8
8
  * * @see https://github.com/jdorn/json-editor/
9
9
  * * @see https://github.com/json-editor/json-editor
@@ -3,7 +3,7 @@
3
3
  * * @name JSON Editor
4
4
  * * @description JSON Schema Based Editor
5
5
  * * This library is the continuation of jdorn's great work (see also https://github.com/jdorn/json-editor/issues/800)
6
- * * @version "2.13.0"
6
+ * * @version "2.13.1"
7
7
  * * @author Jeremy Dorn
8
8
  * * @see https://github.com/jdorn/json-editor/
9
9
  * * @see https://github.com/json-editor/json-editor
@@ -1166,12 +1166,12 @@ var AbstractEditor = /*#__PURE__*/function () {
1166
1166
 
1167
1167
  // object properties
1168
1168
  if (Object.keys(this.editors).length) {
1169
+ vars.properties = {};
1169
1170
  Object.keys(this.editors).forEach(function (key) {
1170
1171
  var editor = _this7.editors[key];
1171
1172
  if (editor.schema && editor.schema["enum"] && editor.schema.options && editor.schema.options.enum_titles) {
1172
1173
  var enumIndex = editor.schema["enum"].indexOf(editor.value);
1173
1174
  var enumTitle = editor.options.enum_titles[enumIndex];
1174
- vars.properties = {};
1175
1175
  vars.properties[key] = {
1176
1176
  enumTitle: enumTitle
1177
1177
  };