allianz / ng-aquila

Angular UI Component library for the Open Insurance Platform
https://allianz.github.io/ng-aquila/
Other
205 stars 32 forks source link

[CodeInputComponent] Clipboard paste not working, only paste the first value #47

Closed aliyafthh closed 10 months ago

aliyafthh commented 1 year ago

⚡ Reproduction

https://allianz.github.io/ng-aquila/documentation/code-input/overview

Steps to reproduce:

  1. Using Android, copy a random string. Example : 1234
  2. Open https://allianz.github.io/ng-aquila/documentation/code-input/overview on web.
  3. Paste the values in the input field using clipboard paste.

📗 Expected Behavior

To populate all the fields when pasting the value retrieved from clipboard. For example, OTP values.

📕 Actual Behavior

Only populate the first field when pasting using clipboard.

Screenshot_20220824_184030

Screenshot_20220824_183745

📦 Environment

syl987 commented 1 year ago

Hi @aliyafthh thanks for reporting, sounds like a useful feature. We will have a look at it.

internal ticket https://github.developer.allianz.io/ilt/ngx-ndbx/issues/3692

BuldinAndrey commented 1 year ago

Hello @syl987, did you manage to solve the problem? Will there be a fix?

yd-allianz commented 1 year ago

Hi @BuldinAndrey

the team has been tied up working on v14 update recently, we just started looking into your issue. So far there's no obvious solution to the problem, so it might take some time to come up with a fix. We will update this ticket as soon as there's news.

Phil147 commented 10 months ago

Hi @BuldinAndrey @aliyafthh we have been working on a fix/refactor of the code-input which will be released most likely end of this week. Thanks for your patience!