@json-editor/json-editor 2.10.0 → 2.11.0
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 +22 -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
|
@@ -1,5 +1,27 @@
|
|
|
1
1
|
### Unreleased
|
|
2
2
|
|
|
3
|
+
### 2.11.0
|
|
4
|
+
|
|
5
|
+
- Fixed issue #746 and #645: Selectize with create = true should add items
|
|
6
|
+
- Added case_sensitive_property_search option
|
|
7
|
+
- Added specialized editors for ace (PRQL, Rust, TypeScript, Zig)
|
|
8
|
+
- Fixed bug: items schemas not being expanded on time when using $ref
|
|
9
|
+
- Added tests for schema loader
|
|
10
|
+
- Added docs for if-then-else
|
|
11
|
+
- Updated playground ace editor config
|
|
12
|
+
- Added button_state_mode options
|
|
13
|
+
- Added support for case-insensitive properties search
|
|
14
|
+
- Added support for dependentRequired constrains
|
|
15
|
+
- Fixed issue #1367: Signature editor not returning base64 data
|
|
16
|
+
- Fixed issue #1237: more coherent ui for Base64 editor
|
|
17
|
+
- Fixed issue #1364: getValue() with dependencies
|
|
18
|
+
- Added new languages: PRQL, Rust, TypeScript and Zig.
|
|
19
|
+
|
|
20
|
+
### 2.10.1
|
|
21
|
+
|
|
22
|
+
- Added keep_only_existing_values option
|
|
23
|
+
- Fixed if-then-else edge case bug with disabled fields
|
|
24
|
+
|
|
3
25
|
### 2.10.0
|
|
4
26
|
|
|
5
27
|
- Fixed schema loader bug and added test for relative issues
|
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>
|