-
Notifications
You must be signed in to change notification settings - Fork 2
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
datetime field not functioning #5
Comments
I noticed the same issue. If i find a work around I'll let you know |
edit: Ok, I think this is the part that made it work, disregard the rest:
repeat if you want to add new items Strange, it's working now. Don't know if you can reproduce this, but I
Now it works for me. |
Yes, If there is data, then reloading the page will allow the datepicker to load properly. However, the next field will fail again until you manually add data, save and reload. That is not an option, as it is not very usable. An option is to include a random ID in and call the datepicker again (passing the new id) in javascript after the is visible in the DOM. I just haven't walked through the code to find out where the best place to set the ID might be. Might work, might not. I'm certain there's a simpler solution. Thanks for your input! |
I reproduice the problem too and found were it is. When I dev the extension, it was only to be use with "simple" type (no javascript call) and with others field type extentions where javascript code is write in template (so it is call directly when click the Add button). This is why I did not noticed it. For base types with use of javascript, the code is located in the I will take a closer look to find a way to make it works correctly. |
I made some fix about this issue. You can see on the Can you test with the |
Excellent work! I tested add, delete, update with numerous datetime fields and they appear to be functioning. Thank you very much! |
Now 1.0.3 released and solve the original problem. |
When the type is datetime, the field appears, but the datepicker does not function. Does anyone have any ideas on how to get this to function?
The text was updated successfully, but these errors were encountered: