@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/index.js CHANGED
@@ -1518,9 +1518,7 @@ function SchemaFieldRender(props) {
1518
1518
  );
1519
1519
  const FieldComponent = getFieldComponent(schema, uiOptions, idSchema, registry);
1520
1520
  const disabled = Boolean(uiOptions.disabled ?? props.disabled);
1521
- const readonly = Boolean(
1522
- uiOptions.readonly ?? (props.readonly || props.schema.const || props.schema.readOnly || schema.readOnly)
1523
- );
1521
+ const readonly = Boolean(uiOptions.readonly ?? (props.readonly || props.schema.readOnly || schema.readOnly));
1524
1522
  const uiSchemaHideError = uiOptions.hideError;
1525
1523
  const hideError = uiSchemaHideError === void 0 ? props.hideError : Boolean(uiSchemaHideError);
1526
1524
  const autofocus = Boolean(uiOptions.autofocus ?? props.autofocus);