Form changes

This commit is contained in:
Hillel Coren 2020-11-30 08:42:05 +02:00
parent 4c662e7aee
commit a887e27896
2 changed files with 1 additions and 3 deletions

View File

@ -92,8 +92,6 @@ class DecoratedFormField extends StatelessWidget {
return null;
} else if (kIsWeb && isDesktop(context) && onSavePressed != null) {
onSavePressed(context);
} else {
FocusScope.of(context).nextFocus();
}
},
enabled: enabled,

View File

@ -130,7 +130,7 @@ class VendorEditDetailsState extends State<VendorEditDetails> {
? AppLocalization.of(context).pleaseEnterAName
: null,
decoration: InputDecoration(
labelText: localization.firstName,
labelText: localization.name,
suffixIcon: !kIsWeb && (Platform.isIOS || Platform.isAndroid)
? IconButton(
alignment: Alignment.bottomCenter,