flutter_login
flutter_login copied to clipboard
additionalSignupFields not showing
I have added additionalSignupFields to show that item when SIGNUP button clicks, but it is not showing.
This is my code
return FlutterLogin(
title: "Login",
userType: LoginUserType.email,
additionalSignupFields: const [
UserFormField(
keyName: 'username',
displayName: 'Username',
userType: LoginUserType.name,
icon: Icon(FontAwesomeIcons.userLarge),
),
],
onLogin: (data) {
return controller.authUser(data);
},
onSignup: (data) {
return controller.onSignUp(data);
},
onRecoverPassword: (data) {
return null;
},
onSubmitAnimationCompleted: () {
Get.offAll(HomeScreen());
},
hideForgotPasswordButton: true,
);
Hi @sahanpasindu
By setting additionalSignupFields
, after signup another card with a form for additional user data is shown.
Stille not showing
I have the same problem
I have the same problem.
No solution?
additionalSignupFields: const [
UserFormField(
keyName: "name",
displayName: "name",
icon: Icon(Icons.person),
),
],
The additional field is show after sign up page (we must input username/email and password first then submit). I was confused about this problem before. I think it needs a clearer explanation in the documentation how the additional field works/displays.