Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

It is allowing more then one digits in last box #15

Open
ArisChoice opened this issue Sep 9, 2021 · 1 comment
Open

It is allowing more then one digits in last box #15

ArisChoice opened this issue Sep 9, 2021 · 1 comment

Comments

@ArisChoice
Copy link

This is my code snippet

OTPTextField(
                                  length: 4,
                                  width: MediaQuery.of(context).size.width,
                                  fieldWidth: ScreenUtil().setWidth(60),
                                  style: TextStyle(
                                    fontSize: ScreenUtil().setSp(18),
                                  ),
                                  keyboardType: TextInputType.number,
                                  textFieldAlignment:
                                      MainAxisAlignment.spaceAround,
                                  fieldStyle: FieldStyle.box,
                                  onCompleted: (pin) {
                                    print("Completed: " + pin);
                                    authController.otp.text = pin;
                                  },
                                )
@manukumarsb7
Copy link

I'm also Facing the same issue...!

yousefmasry4 added a commit to yousefmasry4/OTPTextField that referenced this issue Feb 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants