N°8772 - Form compiler for collections

This commit is contained in:
Eric Espie
2025-12-19 10:56:27 +01:00
parent d21b1eb151
commit 048b1a94b1
2 changed files with 8 additions and 4 deletions

View File

@@ -14,7 +14,7 @@ class CollectionEntryElement extends HTMLElement {
connectedCallback() {
if ((this.dataset.new || this.dataset.allowDelete) && this.#eBtnDelete === undefined) {
this.#eBtnDelete = this.#createButton('Delete', 'ibo-button ibo-is-regular ibo-is-danger');
this.#eBtnDelete = this.#createButton('Remove', 'ibo-button ibo-is-regular ibo-is-danger');
this.#eBtnDelete.addEventListener('click', this.#removeCollectionItem.bind(this));
this.appendChild(this.#eBtnDelete);
}