-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Element should not be required to be an input #323
Comments
#323 this is the same issue pretty much |
I commented out the line failing and it works for my needs. |
Oh, I just realized, this autofocus line is also probably the cause of the bug where the picker loads when switching tabs after already the user has already used the picker. That bug requires a fix where we blur() onClose. Seems that shouldn't be necessary either. I'm not sure if autofocus is doing something important I'm unaware of. |
As of v3.3.1, there’s the option to make the input element editable: http://amsul.ca/pickadate.js/date.htm#editable :) In regards to the The issue of the picker re-opening after switching tabs is just the default behavior of browsers. They re-trigger the focus event on the last focused element - in this case that reopens the picker. A couple work arounds were suggested here: #160 But yes, one of the goals in future updates is to allow any element. And so I’ll keep this open. Cheers. |
Let me second this request. I was going to use pickadate without input, as a dropdown calendar. But so far I can't find any (documented) way to assign it to some button or any other element, which would trigger pickadate dropdown in its position. |
@softshape +1 Need a way to update the positioning of the picker |
The inline pickadate is working? |
+1. I'd like to be able to embed the picker inline within an existing modal. |
+1 |
+1. |
+1 |
2 similar comments
+1 |
+1 |
+1 for embedded inline date and time pickers. |
1 similar comment
+1 for embedded inline date and time pickers. |
+1 for embedded inline date and time pickers. Last commit on 20 Apr 2015, is this still maintained ? :) |
+1! |
+1 embedded inline calendar. |
+1 for embedded inline date and time pickers. |
1 similar comment
+1 for embedded inline date and time pickers. |
+1 |
I'm currently using pickatime and needed to add a caret to the element. It also needed to behave as a button, so I did not want to use an input field. I also have experienced issues with the readonly attribute in ie as well as finding the ability to still edit a readonly field in modern browsers.
I got this working fine, but in ie8 and 9, the autofocus breaks the browser with "Object doesn't support this action." error on line 93 "ELEMENT.autofocus..."
The text was updated successfully, but these errors were encountered: