placeholder
This commit is contained in:
parent
e87675dcbd
commit
4471c140c1
@ -172,15 +172,6 @@ function updateTotalNutrition() {
|
|||||||
document.getElementById('total-ca').innerText = Math.round(totalCa);
|
document.getElementById('total-ca').innerText = Math.round(totalCa);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Rufen Sie diese Funktion auf, wenn sich die Haupttabelle ändert
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
// Diese Funktion sollte aufgerufen werden, wenn ein Produkt hinzugefügt oder entfernt wird
|
|
||||||
|
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
@ -196,7 +187,7 @@ function updateTotalNutrition() {
|
|||||||
<div class="content">
|
<div class="content">
|
||||||
<form onsubmit="event.preventDefault(); addProduct();" id="product-form">
|
<form onsubmit="event.preventDefault(); addProduct();" id="product-form">
|
||||||
<label for="my_combobox">Wählen Sie ein Lebensmittel</label>
|
<label for="my_combobox">Wählen Sie ein Lebensmittel</label>
|
||||||
<input list="products" name="my_combobox" id="my_combobox" oninput="updateButtonState()" autocomplete="off">
|
<input list="products" name="my_combobox" id="my_combobox" placeholder="Lebensmittel" oninput="updateButtonState()" autocomplete="off">
|
||||||
<datalist id="products">
|
<datalist id="products">
|
||||||
<!-- Produkte werden hier dynamisch eingefügt -->
|
<!-- Produkte werden hier dynamisch eingefügt -->
|
||||||
</datalist>
|
</datalist>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user