input
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
ci/woodpecker/tag/woodpecker Pipeline was successful

This commit is contained in:
2024-04-09 20:27:57 +02:00
parent a411f59e00
commit 727e2f60c4

View File

@ -281,7 +281,8 @@ function updateTotalNutrition() {
<datalist id="products">
<!-- Produkte werden hier dynamisch eingefügt -->
</datalist>
<input type="number" id="weight" name="weight" placeholder="Gramm" step="0.1" 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>
</div>
</form>