Object inside array with readOnly true is not showing as disabled

Object inside array with readOnly true is not showing as disabled with material cells. I used the following jsonschema without any uischema.

config: {
	type: 'array',
	title: 'test',
	description: 'connection ',
	items: {
		type: 'object',
		title: 'test',
		description: 'test',
		properties: {
			ipAddress: {
				readOnly:true,
				type: 'string'							
			},
			port: {
				readOnly:true,
				type: 'number'							
			}						
		},
		required: ['ipAddress']
	}
}

Hi @neosri ,
thanks for the report. I could reproduce the problem with the react material renderers. Could you open an issue for this here, please: https://github.com/eclipsesource/jsonforms/issues/new/choose

Thanks and best regards,
Lucas

Sure I can, along the same lines, I used a custom cell renderer, to see if I could overcome this, but the enabled property is always true in the CellProps. Can you please confirm this and I can add this too ?

Is there any workaround if I am not using uischema?

The issue is likely here. We did not consider the case that whole columns could be disabled.

As a workaround you can check the schema in your custom cell renderers for readOnly.

Yes, we are using that. Along the same lines, I am planning on using a tooltip to show default values for the arrays cells. I am using a custom cell renderer for this. the CellProps have the schema object which only provides the type. Where do I get the default values for object inside of array?