GithubHelp home page GithubHelp logo

pkovzz / ngx-otp-input Goto Github PK

View Code? Open in Web Editor NEW
18.0 18.0 9.0 1.32 MB

One time password input library for Angular

Home Page: https://ngx-otp-input.vercel.app/

License: MIT License

JavaScript 11.25% TypeScript 69.35% HTML 13.72% SCSS 5.68%
angular input javascript typescript web

ngx-otp-input's People

Contributors

pkovzz avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

ngx-otp-input's Issues

Mobile-device input-focus change not working

Describe the bug
The input-focus is not changing on user input

To Reproduce
Please refer to #6

Expected behavior
Input-focus moves to next box after correct input

Screenshots
Please refer to #6

Desktop (please complete the following information):

  • Browser [e.g. chrome, safari]
  • Version [e.g. 22]

Smartphone (please complete the following information):

  • Chrome
  • Android-11

Additional context
The issue #6 was closed. There is a reference to https://ngx-otp-input-j6iwwfgom-pkovzz.vercel.app/ which seems to work properly on Android-11 device. Please help share details/approach to resolve the issue; maybe a good idea to add this to the documentation for further reference to other users.

Clear value of otp box

Hi,

When someone add wrong otp i want to clear the field so user can put fresh otp but there is no option for clearing otp

Continues OTP changes not working.

Continues OTP changes should work. now if I entered 333333. and when I change it to 444444 so at that moment manually focus on input.

Can't find the package imported

Describe the bug

It looks like i can't import the package because this one doesn't export main. Getting this error from Angular:

Module not found: Error: Package path . is not exported from package /project/node_modules/ngx-otp-input (see exports field in project/node_modules/ngx-otp-input/package.json)

To Reproduce

Simply tried to import the package.

Expected behavior

We should be able to import the package.

Desktop (please complete the following information):

  • Browser [e.g. chrome, safari] Firefox
  • Version [e.g. 22]

Additional context

Angular version: ^14.0.0

Failed to install on angular 13

Captura de ecrã 2023-01-09, às 16 40 29

When I try to install this library in angular 13 project it is giving me the error visible in the image
I tried to install the version that I saw would be compatible. I added this on package.json "ngx-otp-input": "0.11.1" and made an npm update
Can you check this for me ASAP? Thanks

remove double "backspace" press

Describe the bug
So it is not an actual bug, but when I press backspace once on filled input it removes the value but doesn't go to the previous cell.

To Reproduce
Steps to reproduce the behavior:

  1. Go to https://ngx-otp-input.vercel.app/
  2. Click in the first cell and start typing
  3. remove last cell value
  4. See that focus still in same (empty cell)

Expected behavior
So in my logic and best practices is next - When I deleted the value of the cell, it should focus on the previous cell, and if I type a new value should be checked if the cell does not empty populate new value to the next empty cell otherwise fill new value in current

Desktop (please complete the following information):

  • Browser chrome
  • Version 95

Smartphone iPhone iOS 15:

  • Browser safari

Additional context
Add any other context about the problem here.

Autocomplete Off is not working

Describe the bug
Not able to turn off the auto-complete for ngx-otp-input

To Reproduce
Not able to turn off the autocomplete for ngx-otp-input by using several below methods -:

  1. autocomplete = "off"
  2. autocomplete = "new-password"
  3. By making custom directive for disabling the autocomplete
  4. By creating a similar input field and setting it to display:none

Expected behavior
It should not give the suggestion list for ngx-otp-input

Screenshots
image

Desktop (please complete the following information):

  • Browser Chrome
  • Version 108.0.5359.125

Input not disabled when disable option are true

Describe the bug
Input doesn't disabled when disable option are true

To Reproduce
Steps to reproduce the behavior:

  1. Set [disable]="true"
  2. Input still can be typed

Screenshots
image

Desktop (please complete the following information):

  • Browser => Chrome 92.0.4515.159
  • Version => ^0.9.0

dynamic Autofocus

On my device , plugin install properly , but after first input box entry second input box is not getting focus , i have to manually click on next input for next digit
device : Samsung A10
OS : Android
version : 10

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.