A serial the account does not list is still a serial worth showing
The dropdown could only show a serial it had an option for. A remembered one the account does not report — a charger imported before the account was linked, one the cloud is quiet about today — selected nothing, so the field sat blank while that serial was the one every command went to. Nothing on screen said which charger was being driven, or let it be corrected. The field now falls back to the text box in that case, the way it already does when the account lists no chargers at all, and shows the serial actually in force. One link switches between picking and typing, so a serial off the list is not a dead end and the list is not the only way in; coming back to it lands on a charger the list holds rather than blanking the dropdown again. Which of the two is showing is decided when the list arrives, not on every keystroke — recomputing it as the serial is typed would turn the text box into a dropdown mid-word, the moment what had been typed happened to match. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
1 parent
7ccd785742
commit
1aedc0ddc7
4 files changed
+42
-1
No files matched your search
@@ -82,6 +82,8 @@
|
||||
"connected": "Forbundet",
|
||||
"disconnected": "Offline",
|
||||
"serialPlaceholder": "Laderens serienummer (f.eks. A5191-XXXXXXXX)",
|
||||
"enterSerial": "Indtast et serienummer i stedet",
|
||||
"pickSerial": "Vælg blandt dine ladere",
|
||||
"refresh": "Opdater",
|
||||
"status": "Stik",
|
||||
"meter": "Energi",
|
||||
|
||||
@@ -68,6 +68,8 @@
|
||||
"connected": "Connected",
|
||||
"disconnected": "Offline",
|
||||
"serialPlaceholder": "Charger serial (e.g. A5191-XXXXXXXX)",
|
||||
"enterSerial": "Enter a serial instead",
|
||||
"pickSerial": "Choose from your chargers",
|
||||
"refresh": "Refresh",
|
||||
"status": "Connector",
|
||||
"meter": "Energy",
|
||||
|
||||
@@ -84,6 +84,8 @@
|
||||
"connected": "Połączono",
|
||||
"disconnected": "Offline",
|
||||
"serialPlaceholder": "Numer seryjny ładowarki (np. A5191-XXXXXXXX)",
|
||||
"enterSerial": "Wpisz numer seryjny zamiast tego",
|
||||
"pickSerial": "Wybierz ze swoich ładowarek",
|
||||
"refresh": "Odśwież",
|
||||
"status": "Złącze",
|
||||
"meter": "Energia",
|
||||
|
||||
Reference in new issue
Block a user