We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f6a6e1b commit 1376f3bCopy full SHA for 1376f3b
packages/angular-material/src/other/master-detail/master.ts
@@ -41,6 +41,7 @@ import {
41
mapStateToArrayControlProps,
42
RankedTester,
43
rankWith,
44
+ setReadonly,
45
StatePropsOfArrayControl,
46
uiTypeIs
47
} from '@jsonforms/core';
@@ -183,6 +184,10 @@ export class MasterListComponent extends JsonFormsArrayControl {
183
184
props.rootSchema
185
);
186
187
+ if (!this.isEnabled()) {
188
+ setReadonly(detailUISchema);
189
+ }
190
+
191
const masterItems = (data || []).map((d: any, index: number) => {
192
const labelRefInstancePath = controlElement.options?.labelRef && removeSchemaKeywords(
193
controlElement.options.labelRef
0 commit comments