feat: trim user input

This commit is contained in:
Ninjdai 2025-08-14 13:32:41 +02:00
parent 821232addc
commit fa7182d75e
4 changed files with 7 additions and 7 deletions

View file

@ -87,7 +87,7 @@ class _OwnerPopupState extends State<OwnerPopup> {
),
onSaved: (newValue) {
setState(() {
lastName = newValue;
lastName = newValue?.trim();
});
},
validator: (value) {
@ -105,7 +105,7 @@ class _OwnerPopupState extends State<OwnerPopup> {
),
onSaved: (newValue) {
setState(() {
firstName = newValue;
firstName = newValue?.trim();
});
},
validator: (value) {
@ -123,7 +123,7 @@ class _OwnerPopupState extends State<OwnerPopup> {
),
onSaved: (newValue) {
setState(() {
contact = newValue;
contact = newValue?.trim();
});
},
validator: (value) {