Decimal keyboard is switching to alphanumeric keyboard in last digit.
Opened this issue · 1 comments
harsh8088 commented
otp_text_field: ^1.1.3
OTPTextField( keyboardType: TextInputType.number, inputFormatter: [FilteringTextInputFormatter.digitsOnly], length: 4, width: MediaQuery.of(context).size.width, textFieldAlignment: MainAxisAlignment.spaceAround, fieldWidth: 35, fieldStyle: FieldStyle.underline, onChanged: (value) { print("value:$value"); }, style: TextStyle(fontSize: 20, fontWeight: FontWeight.bold), onCompleted: (pin) { context.read<PinConfirmBloc>().add(PinChanged(pin)); }, ),
PIN_Issue.mov
Using inputFormatter: [FilteringTextInputFormatter.digitsOnly] is restricting characters, but the keyboard still switches in the last field.
harsh8088 commented
@iamvivekkaushik any update on this issue?