miktemk / angular-pickadate.js Goto Github PK
View Code? Open in Web Editor NEWAngularjs extension for the slick date/time picker, pickadate.js, by Amsul
Angularjs extension for the slick date/time picker, pickadate.js, by Amsul
In the zip file downloaded from I notice a couple of bugs.
If you select the first date input (which is empty) and try to prev/next a month, you get a JS error:
Cannot read property 'obj' of null
And the calendar sets itself to January 1970
Same thing happens if you press 'Today' first.
However if you select a date, and then reopen it, the calendar next/prev buttons work fine.
I have the angular-pickadate widget set up like this:
<input type="text" data-role="none" pick-a-date="date" pick-a-date-options="{selectYears: true, selectMonths: true}" ng-model="row.ExpiryDate" class="custom-input date-from-utc-st-exp" data-utcdate="{{ row.ExpiryDate }}" value="{{ row.ExpiryDate }}" />
Although the drop down is rendered correctly with the month and year drop downs displayed, if I click on either of them, nothing happens. Also, if I press one of the arrow keys, it causes the browser tab to hang.
Hi.
I was/am using this directive, and upgraded the version of Pickadate library as it claims to fix some iOS8 issues. However on switching to the latest version, there are issues when selecting a date - it highlights/selects the wrongs dates. In particular this works with pass dates.
I've attached a version using the latest library.
https://www.dropbox.com/s/3i79nfoenvvmnpt/angular-pickadate.js-master-broken.zip?dl=0
Thanks
Tom
edit - this is probably just an issue with the library, rather than the directive. I've raised a bug here: amsul/pickadate.js#556
btw awesome plugin, thanks for the work!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.