Skip to content

Commit 227a2cd

Browse files
authored
Merge pull request #2122 from navikt/record-form
Update tagRecordForm.js-meta.xml
2 parents 6b43b47 + 22aa9b2 commit 227a2cd

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

force-app/components/tagRecordForm/lwc/tagRecordForm/tagRecordForm.js

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ export default class TagRecordForm extends LightningElement {
66
@api fields;
77
@api twoColumns;
88
@api isDefaultOpen;
9+
@api readOnly;
910

1011
@track fieldArray = [];
1112
@track open;

force-app/components/tagRecordForm/lwc/tagRecordForm/tagRecordForm.js-meta.xml

+1
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
description="If checked, the section is open on page refresh. Closed if unchecked." />
1919
<property name="twoColumns" type="Boolean" default="true"
2020
description="If checked, the fields will display in two columns. One columns if unchecked." />
21+
<property name="readOnly" type="Boolean" default="true" />
2122
<supportedFormFactors>
2223
<supportedFormFactor type="Large" />
2324
<supportedFormFactor type="Small" />

0 commit comments

Comments
 (0)