You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've started using pickadate for forms in my website.
I'm using the Symfony2 php framework, and for the graphical side I'm using the twitter bootstrap 2.
I am rendering a form with date and time inputs. When I use pickadate on a date input, the field appears as disabled (as pickadate makes it), and on click the widget appears as normal. If I navigate with the keyboard arrows and select a date with enter, it works fine, the input is updated with the selected date.
However, if I select the date with a click, I get the following error:
TypeError: Argument 1 of Node.contains is not an object.
And then the date is not selected, although the widget disappears as though it had been.
I am unable to determine where the issue comes from. It seems to me that the input cannot be found, and therefore cannot be updated, but I do not know what causes this.
Any help would be appreciated.
The text was updated successfully, but these errors were encountered:
The error only occurs on Firefox though (Firefox 26.0).
I've had to paste all the js and css (except for legacy) in though, so sorry about that. The same init script is located at the very end of the js section.
I've started using pickadate for forms in my website.
I'm using the Symfony2 php framework, and for the graphical side I'm using the twitter bootstrap 2.
I am rendering a form with date and time inputs. When I use pickadate on a date input, the field appears as disabled (as pickadate makes it), and on click the widget appears as normal. If I navigate with the keyboard arrows and select a date with enter, it works fine, the input is updated with the selected date.
However, if I select the date with a click, I get the following error:
TypeError: Argument 1 of Node.contains is not an object.
And then the date is not selected, although the widget disappears as though it had been.
I have tried using a container, as follows:
I am unable to determine where the issue comes from. It seems to me that the input cannot be found, and therefore cannot be updated, but I do not know what causes this.
Any help would be appreciated.
The text was updated successfully, but these errors were encountered: