diff --git a/lib/ui/add_page/widgets/owner_popup.dart b/lib/ui/add_page/widgets/owner_popup.dart index c677b13..35fe4b3 100644 --- a/lib/ui/add_page/widgets/owner_popup.dart +++ b/lib/ui/add_page/widgets/owner_popup.dart @@ -80,25 +80,6 @@ class _OwnerPopupState extends State { key: _formKey, child: Column( children: [ - TextFormField( - decoration: InputDecoration( - labelText: "Nom", - border: OutlineInputBorder(), - ), - onSaved: (newValue) { - setState(() { - lastName = newValue?.trim(); - }); - }, - validator: (value) { - if (value == null || value.isEmpty) { - return "Indiquez un nom"; - } - return null; - }, - keyboardType: TextInputType.name, - ), - SizedBox(height: 10), TextFormField( decoration: InputDecoration( labelText: "Prénom", @@ -118,6 +99,25 @@ class _OwnerPopupState extends State { keyboardType: TextInputType.name, ), SizedBox(height: 10), + TextFormField( + decoration: InputDecoration( + labelText: "Nom", + border: OutlineInputBorder(), + ), + onSaved: (newValue) { + setState(() { + lastName = newValue?.trim(); + }); + }, + validator: (value) { + if (value == null || value.isEmpty) { + return "Indiquez un nom"; + } + return null; + }, + keyboardType: TextInputType.name, + ), + SizedBox(height: 10), TextFormField( decoration: InputDecoration( labelText: "Contact",