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

Doesn't work for input with readonly attribute #537

Closed
alexeyfadeev opened this issue Jul 7, 2016 · 1 comment
Closed

Doesn't work for input with readonly attribute #537

alexeyfadeev opened this issue Jul 7, 2016 · 1 comment

Comments

@alexeyfadeev
Copy link

I want to deny keyboard text editing, to allow only selection from dropdown time list.
When I add a readonly attribute, timepicker doesn't woks.

Also I tried to replace input with label. But in this case label text isn't changed on time selection. And I don't understand how get time value in 'changeTime' callback function - $(this).val() doesn't work with label.

@jonthornton
Copy link
Owner

Use the disableTextInput option. More info here.

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

2 participants