Comments (1)
For disabling past days you can easily set mindate.
Put this in your controller:
$scope.today = new Date(new Date().dtp_shortDate()).getTime();
Then pass it to your directive:
<adm-dtp ng-model="date" mindate="{{today}}"></adm-dtp>
from adm-datetimepicker.
Related Issues (20)
- تقویم ثابت HOT 1
- Custom options attribute "gregorianDic" doesn't work
- how to add placeholder to ADM-dateTimePicker HOT 1
- ng-model is not changing when choosing a date
- How to reset value of date time picker?
- Time can not select if mindate and enddate are same day.
- مشکل در angular 5 HOT 1
- disable dates before or after specified date.
- Show specific month calling a calendar method HOT 1
- باگ mindate
- Feature Request: Create Angular 2> version HOT 1
- Today button not binding Today's Date
- Ajax doesn't work with this datePicker HOT 2
- ng-model in input not working
- Not loading calender in Chrome HOT 1
- Function fillDays is not working correctly
- DIfferent behavior in Firefox and Chrome
- prevent type in input
- پیشنهاد توسعه
- ترتیب انتخاب سال و ماه
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from adm-datetimepicker.