From 4c76a2da83e8b0cc07207624fe0428ebea0025fd Mon Sep 17 00:00:00 2001 From: mhizterkeyz <38281402+mhizterkeyz@users.noreply.github.com> Date: Thu, 16 Mar 2023 12:05:26 +0100 Subject: [PATCH] feat: remove maxLines from text field to allow pasting functionality work --- lib/otp_field.dart | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/otp_field.dart b/lib/otp_field.dart index 279571d..9abae6c 100644 --- a/lib/otp_field.dart +++ b/lib/otp_field.dart @@ -186,7 +186,6 @@ class _OTPTextFieldState extends State { textAlign: TextAlign.center, style: widget.style, inputFormatters: widget.inputFormatter, - maxLength: 1, focusNode: _focusNodes[index], obscureText: widget.obscureText, decoration: InputDecoration(