flutter_login icon indicating copy to clipboard operation
flutter_login copied to clipboard

additionalSignupFields not showing

Open sahanpasindu opened this issue 2 years ago • 5 comments

I have added additionalSignupFields to show that item when SIGNUP button clicks, but it is not showing.

SCR-25651230-ij3

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,
      );

sahanpasindu avatar Dec 30 '22 07:12 sahanpasindu

Hi @sahanpasindu

By setting additionalSignupFields, after signup another card with a form for additional user data is shown.

image

sahmadreza avatar Feb 16 '23 14:02 sahmadreza

Stille not showing

Karatla avatar Mar 12 '23 10:03 Karatla

I have the same problem

black10manda avatar Mar 15 '23 23:03 black10manda

I have the same problem.

No solution?

additionalSignupFields: const [
	UserFormField(
		keyName: "name",
		displayName: "name",
		icon: Icon(Icons.person),
	),
],

robman70 avatar Mar 29 '23 10:03 robman70

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.

nandaarya avatar Jun 06 '23 12:06 nandaarya