KEMBAR78
feat: add shouldFocusOrder for auto correct the input order and clean remain value by Gemerz · Pull Request #39 · ejirocodes/vue3-otp-input · GitHub
Skip to content

Conversation

@Gemerz
Copy link
Contributor

@Gemerz Gemerz commented Oct 31, 2023

Hello, When our company tester found a bug which is when user input a character is not the first or the last, after fill the remains , actually, the last character seem has fill, but the last item of the variable opt-value array is get the value or empty.

so I create a fuction focusOrder to clear the value when user input fill not by the asc order after, and add shouldFocusOrder prop flag to the component, so can when is need. Is can avoid that bug.

@Gemerz Gemerz changed the title feature: add shouldFocusOrder for auto correct the input order and clean remain value feat: add shouldFocusOrder for auto correct the input order and clean remain value Oct 31, 2023
@targetlucked69
Copy link

dont thinks this package is maintained tbh

@ejirocodes
Copy link
Owner

Thanks for getting this done @Gemerz

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants