Klassen und typen für Knöpfe hinzugefügt
This commit is contained in:
1 parent
b6ad218fdb
commit
377d888221
1 file changed
+4
@@ -36,8 +36,12 @@ export function createEditItemForm(currentName, currentAmount) {
|
||||
inputAmount.classList.add("editForm__amount");
|
||||
|
||||
|
||||
abortButton.setAttribute("type", "button");
|
||||
abortButton.classList.add("editForm__buttonAbort");
|
||||
abortButton.textContent = "Abbrechen";
|
||||
|
||||
saveButton.textContent = "Speichern";
|
||||
saveButton.setAttribute("type", "submit");
|
||||
|
||||
|
||||
editForm.append(inputName, inputAmount, saveButton, abortButton);
|
||||
|
||||
Reference in new issue
Block a user