feat: always display country code in uppercase (model validates + oninput)

This commit is contained in:
2026-07-05 21:22:57 +08:00
parent 08684493f4
commit 2bd914532e
3 files changed
+8 -4

No files matched your search

+1 -1
View File
@@ -221,7 +221,7 @@ def postcard_create(
card_number=card_number,
status=status,
recipient_name=recipient_name or None,
country=country or None,
country=(country.strip().upper() if country else None),
send_time=_parse_dt(send_time),
arrival_time=_parse_dt(arrival_time),
sender_name=sender_name or None,