${
this.label && !this.horizontal
? html`
`
: null
}
${
this.description && !this.horizontal
? html`
${this.description}
`
: null
}
${
this.rowData?.map((data, i) => html`
${this.rowName} #${i + 1}
${
this.repeatedFields.map( (field, j) =>
html`${(field.type in this.allowedComponents && (field.hide === undefined || !field.hide)) ? this.renderComponent(this.allowedComponents[field.type], {...field.attributes, 'row-index': i}, data[field.attributes.name], field.content) : ''}`
)
}
`)
}
${
this.rowData?.length < this.rowLimit ?
html`
`
: ''
}
`;
const horizontalFieldLabel = html`