We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f0a577b commit 163aff9Copy full SHA for 163aff9
src/utils.js
@@ -89,8 +89,8 @@ export function orderProperties(properties, order) {
89
throw new Error(
90
"uiSchema order list length should match object properties length");
91
}
92
- if ([].slice.call(order).sort().toString() !==
93
- [].slice.call(properties).sort().toString()) {
+ const fingerprint = (arr) => [].slice.call(arr).sort().toString();
+ if (fingerprint(order) !== fingerprint(properties)) {
94
95
"uiSchema order list does not match object properties list");
96
0 commit comments