Bits of markup formatting

This commit is contained in:
leekelleher
2024-04-15 19:42:17 +01:00
parent 120d5c74e8
commit ed944a930b
2 changed files with 7 additions and 5 deletions

View File

@@ -186,8 +186,8 @@ export class UmbMultipleColorPickerInputElement extends UUIFormControlMixin(UmbL
${repeat(
this._items,
(item) => item.value,
(item, index) =>
html` <umb-multiple-color-picker-item-input
(item, index) => html`
<umb-multiple-color-picker-item-input
?showLabels=${this.showLabels}
value=${item.value}
label=${ifDefined(item.label)}
@@ -196,7 +196,9 @@ export class UmbMultipleColorPickerInputElement extends UUIFormControlMixin(UmbL
?disabled=${this.disabled}
?readonly=${this.readonly}
required
required-message="Item ${index + 1} is missing a value"></umb-multiple-color-picker-item-input>`,
required-message="Item ${index + 1} is missing a value">
</umb-multiple-color-picker-item-input>
`,
)}
`;
}

View File

@@ -171,7 +171,7 @@ export class UmbInputMultipleTextStringElement extends UmbFormControlMixin(UmbLi
render() {
return html`<div id="sorter-wrapper">${this.#renderItems()}</div>
${this.#renderAddButton()} `;
${this.#renderAddButton()}`;
}
#renderItems() {
@@ -180,7 +180,7 @@ export class UmbInputMultipleTextStringElement extends UmbFormControlMixin(UmbLi
this._items,
(item, index) => index,
(item, index) =>
html` <umb-input-multiple-text-string-item
html`<umb-input-multiple-text-string-item
value=${item}
name="item-${index}"
data-sort-entry-id=${item}