Skip to content

Commit ce2f5b0

Browse files
authored
Merge pull request #2116 from navikt/record-form
Update tagRecordForm.html
2 parents 350b1df + 5e27357 commit ce2f5b0

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

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

+9-9
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,26 @@
11
<template>
22
<div class="slds-card slds-theme_default">
33
<div class="slds-card__body slds-card__body_inner">
4-
<div class="{sectionClass}">
4+
<div class={sectionClass}>
55
<h3 class="slds-section__title slds-truncate slds-p-around_xx-small slds-theme_shade">
6-
<button class="slds-button slds-section__title-action" onclick="{handleClick}" label=" {label}">
6+
<button class="slds-button slds-section__title-action" onclick={handleClick} label={label}>
77
<lightning-icon
88
icon-name="utility:switch"
99
alternative-text="button icon"
1010
size="x-small"
1111
class="slds-section__title-action-icon slds-button__icon_left"
1212
></lightning-icon>
13-
<span class="slds-truncate" title="{label}">{label}</span>
13+
<span class="slds-truncate" title={label}>{label}</span>
1414
</button>
1515
</h3>
1616
<div class="slds-section__content">
17-
<template if:true="{fields}">
17+
<template if:true={fields}>
1818
<lightning-record-form
19-
object-api-name="{objectApiName}"
20-
record-id="{recordId}"
21-
fields="{fieldArray}"
22-
columns="{columns}"
23-
mode="{mode}"
19+
object-api-name={objectApiName}
20+
record-id={recordId}
21+
fields={fieldArray}
22+
columns={columns}
23+
mode={mode}
2424
>
2525
</lightning-record-form>
2626
</template>

0 commit comments

Comments
 (0)