Skip to content

React MUI inputs are disabled instead of readonly #2283

@Maxouwell

Description

@Maxouwell

Describe the bug

Hello,

On the MUI page for the TextInput, MUI define two different UI for disabled and read only inputs.

On JsonForms, when a field has a readonly option in the UI Schema, it renders in the material renderer as a disabled field.
Is that voluntary ?

Expected behavior

The field should have been a readonly field.

Steps to reproduce the issue

Put a readonly option on a field in the UI Schema.

Screenshots

No response

Which Version of JSON Forms are you using?

v3.2.1

Framework

React

RendererSet

Material

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions