jsonforms icon indicating copy to clipboard operation
jsonforms copied to clipboard

React MUI inputs are disabled instead of readonly

Open Maxouwell opened this issue 1 year ago • 0 comments

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

Maxouwell avatar Feb 14 '24 10:02 Maxouwell