@json-editor/json-editor 2.10.0 → 2.10.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.
- package/CHANGELOG.md +5 -0
- package/README.md +5 -0
- package/dist/jsoneditor.js +1 -1
- package/dist/jsoneditor.js.LICENSE.txt +1 -1
- package/dist/nonmin/jsoneditor.js +19 -2
- package/dist/nonmin/jsoneditor.js.map +1 -1
- package/package.json +1 -1
- package/src/editors/multiple.js +14 -3
- package/src/utilities.js +10 -0
- package/tests/codeceptjs/constrains/if-then-else_test.js +43 -0
- package/tests/codeceptjs/core_test.js +8 -0
- package/tests/pages/if-then-else-disable-fields.html +69 -0
- package/tests/pages/keep_only_existing_values.html +80 -0
package/CHANGELOG.md
CHANGED
package/README.md
CHANGED
|
@@ -240,6 +240,11 @@ Here are all the available options:
|
|
|
240
240
|
<td>If <code>true</code>, makes oneOf copy properties over when switching.</td>
|
|
241
241
|
<td><code>true</code></td>
|
|
242
242
|
</tr>
|
|
243
|
+
<tr>
|
|
244
|
+
<td>keep_only_existing_values</td>
|
|
245
|
+
<td>If <code>true</code>, copy only existing properties over when switching.</td>
|
|
246
|
+
<td><code>false</code></td>
|
|
247
|
+
</tr>
|
|
243
248
|
<tr>
|
|
244
249
|
<td>schema</td>
|
|
245
250
|
<td>A valid JSON Schema to use for the editor. Version 3 and Version 4 of the draft specification are supported.</td>
|