@rjsf/core 5.22.3 → 5.23.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/dist/core.umd.js +1 -3
- package/dist/index.esm.js +1 -3
- package/dist/index.esm.js.map +2 -2
- package/dist/index.js +1 -3
- package/dist/index.js.map +2 -2
- package/lib/components/fields/SchemaField.js +1 -1
- package/lib/components/fields/SchemaField.js.map +1 -1
- package/lib/tsconfig.tsbuildinfo +1 -1
- package/package.json +6 -6
- package/src/components/fields/SchemaField.tsx +1 -3
package/dist/core.umd.js
CHANGED
|
@@ -1428,9 +1428,7 @@
|
|
|
1428
1428
|
);
|
|
1429
1429
|
const FieldComponent = getFieldComponent(schema, uiOptions, idSchema, registry);
|
|
1430
1430
|
const disabled = Boolean(uiOptions.disabled ?? props.disabled);
|
|
1431
|
-
const readonly = Boolean(
|
|
1432
|
-
uiOptions.readonly ?? (props.readonly || props.schema.const || props.schema.readOnly || schema.readOnly)
|
|
1433
|
-
);
|
|
1431
|
+
const readonly = Boolean(uiOptions.readonly ?? (props.readonly || props.schema.readOnly || schema.readOnly));
|
|
1434
1432
|
const uiSchemaHideError = uiOptions.hideError;
|
|
1435
1433
|
const hideError = uiSchemaHideError === void 0 ? props.hideError : Boolean(uiSchemaHideError);
|
|
1436
1434
|
const autofocus = Boolean(uiOptions.autofocus ?? props.autofocus);
|
package/dist/index.esm.js
CHANGED
|
@@ -1541,9 +1541,7 @@ function SchemaFieldRender(props) {
|
|
|
1541
1541
|
);
|
|
1542
1542
|
const FieldComponent = getFieldComponent(schema, uiOptions, idSchema, registry);
|
|
1543
1543
|
const disabled = Boolean(uiOptions.disabled ?? props.disabled);
|
|
1544
|
-
const readonly = Boolean(
|
|
1545
|
-
uiOptions.readonly ?? (props.readonly || props.schema.const || props.schema.readOnly || schema.readOnly)
|
|
1546
|
-
);
|
|
1544
|
+
const readonly = Boolean(uiOptions.readonly ?? (props.readonly || props.schema.readOnly || schema.readOnly));
|
|
1547
1545
|
const uiSchemaHideError = uiOptions.hideError;
|
|
1548
1546
|
const hideError = uiSchemaHideError === void 0 ? props.hideError : Boolean(uiSchemaHideError);
|
|
1549
1547
|
const autofocus = Boolean(uiOptions.autofocus ?? props.autofocus);
|