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; return null;
} else if (kIsWeb && isDesktop(context) && onSavePressed != null) { } else if (kIsWeb && isDesktop(context) && onSavePressed != null) {
onSavePressed(context); onSavePressed(context);
} else {
FocusScope.of(context).nextFocus();
} }
}, },
enabled: enabled, enabled: enabled,

View File

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