v1.7.5: UI-Verbesserungen Listenansicht und Zeiteingabe
- Listview: Toolbar-Rahmen #407BFF, Fokus 2px ring-inset #235CC8 - Listview: Pfeil-Buttons Monatsauswahl in #85B7D7 - Listview: Klimawerte werden bei allen-0 ausgeblendet - Zeiteingabe: nur Stunden + Tab setzt Minuten automatisch auf :00 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -53,8 +53,9 @@ export default function TimeInput({ value, onChange, className = '', clearOnFocu
|
||||
setError(false);
|
||||
return;
|
||||
}
|
||||
if (isValid(local)) {
|
||||
const norm = normalize(local);
|
||||
const expanded = /^\d{1,2}:?$/.test(local) ? local.replace(/:$/, '') + ':00' : local;
|
||||
if (isValid(expanded)) {
|
||||
const norm = normalize(expanded);
|
||||
setLocal(norm);
|
||||
setError(false);
|
||||
onChange(norm);
|
||||
|
||||
Reference in New Issue
Block a user