Flutter_Pinput icon indicating copy to clipboard operation
Flutter_Pinput copied to clipboard

A text error is not shown the first time when write the wrong sms code

Open guvanch07 opened this issue 1 year ago β€’ 0 comments

Describe the bug A text error is not shown the first time when you write the wrong sms code, but second time error text exist also i get error text dynamically and pass it to errorText and validator params of PinPut

To Reproduce Steps to reproduce the behavior:

  1. Go to 'SMS verification screen after phone verification'
  2. Fill out all textfields with invalid numbers
  3. Expected to see error text

Screenshots If applicable, add screenshots to help explain your problem.

Pinput version: [e.g. 1.0.0] 3.0.1 Result of: flutter doctor --verbose

[βœ“] Flutter (Channel stable, 3.16.5, on macOS 13.5 22G74 darwin-arm64, locale en-BY) β€’ Flutter version 3.16.5 on channel stable at /Users/guvanch/flutter β€’ Upstream repository https://github.com/flutter/flutter.git β€’ Framework revision 78666c8dc5 (4 weeks ago), 2023-12-19 16:14:14 -0800 β€’ Engine revision 3f3e560236 β€’ Dart version 3.2.3 β€’ DevTools version 2.28.4

[βœ“] Android toolchain - develop for Android devices (Android SDK version 33.0.2) β€’ Android SDK at /Users/guvanch/Library/Android/sdk β€’ Platform android-34, build-tools 33.0.2 β€’ Java binary at: /Applications/Android Studio.app/Contents/jbr/Contents/Home/bin/java β€’ Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b802.4-9586694) β€’ All Android licenses accepted.

[βœ“] Xcode - develop for iOS and macOS (Xcode 15.1) β€’ Xcode at /Applications/Xcode.app/Contents/Developer β€’ Build 15C65 β€’ CocoaPods version 1.12.1

[βœ“] Chrome - develop for the web β€’ Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[βœ“] Android Studio (version 2022.2) β€’ Android Studio at /Applications/Android Studio.app/Contents β€’ Flutter plugin can be installed from: πŸ”¨ https://plugins.jetbrains.com/plugin/9212-flutter β€’ Dart plugin can be installed from: πŸ”¨ https://plugins.jetbrains.com/plugin/6351-dart β€’ Java version OpenJDK Runtime Environment (build 17.0.6+0-17.0.6b802.4-9586694)

[βœ“] VS Code (version 1.85.1) β€’ VS Code at /Applications/Visual Studio Code.app/Contents β€’ Flutter extension version 3.80.0

[βœ“] Connected device (5 available) β€’ JSN L21 (mobile) β€’ MUENW18A09003141 β€’ android-arm64 β€’ Android 10 (API 29) β€’ Guvanch Amanov’s iPhone (mobile) β€’ 00008101-0019243C0A00801E β€’ ios β€’ iOS 17.2.1 21C66 β€’ iPhone 15 Pro Max (mobile) β€’ 5190CF27-5B51-4279-A346-F6FEA6848913 β€’ ios β€’ com.apple.CoreSimulator.SimRuntime.iOS-17-2 (simulator) β€’ macOS (desktop) β€’ macos β€’ darwin-arm64 β€’ macOS 13.5 22G74 darwin-arm64 β€’ Chrome (web) β€’ chrome β€’ web-javascript β€’ Google Chrome 120.0.6099.216

[βœ“] Network resources β€’ All expected network resources are available.

β€’ No issues found! ...

Smartphone (please complete the following information):

  • Device: [Honox 8x]
  • OS: [Android 10]

Additional context

i can share code if it needed

guvanch07 avatar Jan 15 '24 12:01 guvanch07