fix: Temperatureingabe negativ, Monatsauswahl auf aktuellem Monat begrenzt

- LogbuchForm: Temperatur als String-State (tempRaw) – Minus-Vorzeichen tippbar
- LogbuchList: input[type=month] mit max=currentMonth(), kein Zukunftsmonat wählbar
- .gitignore: DB_BACKUP/ ergänzt

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-05-14 20:47:44 +02:00
parent 4593713042
commit cf038ad3be
3 changed files with 13 additions and 11 deletions
+2 -1
View File
@@ -117,7 +117,8 @@ export default function LogbuchList({ kuppel, refreshKey, onEdit, limit = 10, co
<input
type="month"
value={month}
onChange={(e) => setMonth(e.target.value)}
max={currentMonth()}
onChange={(e) => setMonth(e.target.value > currentMonth() ? currentMonth() : e.target.value)}
className="border border-gray-300 rounded-lg px-2 py-1 text-sm"
/>
<button