Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

when input secret start with index of 2, it will wrong. #43

Closed
llyouss opened this issue May 22, 2020 · 1 comment
Closed

when input secret start with index of 2, it will wrong. #43

llyouss opened this issue May 22, 2020 · 1 comment
Labels
awaiting input Waiting for input from the original author

Comments

@llyouss
Copy link

llyouss commented May 22, 2020

    // store text
    let text =  textField.text ?? ""
    let passwordIndex = index - 1
    if password.count > (passwordIndex) {
        // delete if space
        password[passwordIndex] = text == " " ? "" : text
    } else {
        **//it is wrong, it should input to  the index it should be.
        password.append(text)**
    }
    validateAndSendCallback()
@xornorik
Copy link
Owner

xornorik commented Aug 2, 2020

@llyouss
Thank you for reporting this!
Would you be able to check if this is relevant in the current version (1.0.9) as well? I was unable to get any unexpected behaviour.

@xornorik xornorik added the awaiting input Waiting for input from the original author label Aug 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaiting input Waiting for input from the original author
Projects
None yet
Development

No branches or pull requests

2 participants