This commit is contained in:
@ -270,13 +270,13 @@ function updateTotalNutrition() {
|
|||||||
|
|
||||||
|
|
||||||
<div class="content">
|
<div class="content">
|
||||||
<div class="form-row">
|
<!-- <div class="form-row">
|
||||||
<label for="portions">Wählen Sie die Anzahl an Portionen</label>
|
<label for="portions">Wählen Sie die Anzahl an Portionen</label>
|
||||||
<input type="number" id="portions" name="portions" placeholder="Portionen" min="1" value="1" oninput="recalculateTableBasedOnPortions()">
|
<input type="number" id="portions" name="portions" placeholder="Portionen" min="1" value="1" oninput="recalculateTableBasedOnPortions()">
|
||||||
</div>
|
</div> -->
|
||||||
<form onsubmit="event.preventDefault(); addProduct();" id="product-form" class="form-layout">
|
<form onsubmit="event.preventDefault(); addProduct();" id="product-form" class="form-layout">
|
||||||
|
|
||||||
<div class="form-row">
|
<!-- <div class="form-row"> -->
|
||||||
<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" placeholder="Lebensmittel" 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">
|
||||||
@ -285,7 +285,7 @@ function updateTotalNutrition() {
|
|||||||
<input type="number" id="weight" name="weight" placeholder="Gramm" step="0.1" min="0" oninput="updateButtonState()">
|
<input type="number" id="weight" name="weight" placeholder="Gramm" step="0.1" min="0" oninput="updateButtonState()">
|
||||||
|
|
||||||
<button type="submit" id="submit-button" disabled>Hinzufügen</button>
|
<button type="submit" id="submit-button" disabled>Hinzufügen</button>
|
||||||
</div>
|
<!-- </div> -->
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user