Bits of markup formatting
This commit is contained in:
@@ -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>
|
||||
`,
|
||||
)}
|
||||
`;
|
||||
}
|
||||
|
||||
@@ -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}
|
||||
|
||||
Reference in New Issue
Block a user