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

Add Disable prop #93

Closed
sayedsaeedhosseini opened this issue Jul 8, 2019 · 6 comments
Closed

Add Disable prop #93

sayedsaeedhosseini opened this issue Jul 8, 2019 · 6 comments

Comments

@sayedsaeedhosseini
Copy link

Please add disable prop to toggling input's disabled attr.

@arunghosh
Copy link
Owner

@sayedsaeedhosseini Thank you for the suggestion.

I will check it during the weekend.

I am also happy to have pull requests for the same.

@sayedsaeedhosseini
Copy link
Author

Thanks

@mp-r
Copy link

mp-r commented Mar 31, 2020

Would also like to kindly request this feature... disable pin inputs after N attempts

@mp-r
Copy link

mp-r commented Mar 31, 2020

One way to do this through the pin ref

const els = pinRef.elements
for (let i = 0; i < els.length; i++) {
els[i].input.disabled = "disabled"
}

@arunghosh
Copy link
Owner

Added disabled property in v0.9.1

@mp-r
Copy link

mp-r commented Apr 8, 2020

Thank you so much!

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

No branches or pull requests

3 participants