otp_textfield icon indicating copy to clipboard operation
otp_textfield copied to clipboard

android/ios' auto fill in from keyboard only fills up the first field

Open youngjun625 opened this issue 2 years ago • 14 comments

youngjun625 avatar Feb 16 '23 11:02 youngjun625

Provide an image

david-legend avatar Feb 16 '23 14:02 david-legend

Yes it fill only first character

deepakrana0011 avatar Nov 09 '23 05:11 deepakrana0011

I will work on this on the weekend

david-legend avatar Nov 09 '23 12:11 david-legend

Also having this issue

emmett-deen avatar Nov 22 '23 02:11 emmett-deen

I am also having this issue.

phillipshaong avatar Mar 08 '24 03:03 phillipshaong

++ @david-legend , I'm using your code, I've modified it a bit for my use case, first of all thanks for the great package. If possible can you please add support for this, basically autofil of OTP, also in the latest commit, there are few edge cases, first flutter eventlistener widgets won't work on iOS, so can't do here much, just letting you know. Secondly race condition between changeFocusToPreviousNodeWhenValueIsRemoved and changeFocusToPreviousNodeWhenTapBackspace is still happening, sometimes it skip two blocks instead of 1.

also last one rawkeyboardlistener is depreciated, we need to use keyboardlistener, I saw you've reduced the dart SDK version in your commits, to support more devices, ignore if it's intentional.

ishantgupta777 avatar Apr 03 '24 22:04 ishantgupta777

I'm also having this issue... is there any solution?

Tetsukick avatar Apr 26 '24 12:04 Tetsukick

@david-legend I ve created the PR for this issue. please help to review it. #21

Tetsukick avatar Apr 26 '24 13:04 Tetsukick

@david-legend can you please regarding this issue? or guide

ishantgupta777 avatar Apr 30 '24 23:04 ishantgupta777

@ishantgupta777 temporary, you can handle paste from my repository like bellow in pubspec.yaml

  flutter_otp_text_field:
    git:
      url: https://github.com/Tetsukick/otp_textfield
      ref: f9cd6f5fee2cbd6be58d3d989c7646daaa2afdef

Tetsukick avatar May 01 '24 02:05 Tetsukick

I'm also having this issue, it would be cool to add support to it

gustavohexagon avatar May 07 '24 11:05 gustavohexagon

+1

joshuamoreno1 avatar May 09 '24 02:05 joshuamoreno1

+1

eridiumeng avatar May 29 '24 18:05 eridiumeng

@ishantgupta777 temporary, you can handle paste from my repository like bellow in pubspec.yaml

  flutter_otp_text_field:
    git:
      url: https://github.com/Tetsukick/otp_textfield
      ref: f9cd6f5fee2cbd6be58d3d989c7646daaa2afdef

This works great for me, thanks @Tetsukick

phillipshaong avatar Jun 21 '24 03:06 phillipshaong