Comments (4)
No, there is no such feature for now.
from ionic-datepicker.
@happschinson
this could perhaps be an overload to the disableDates option. Perhaps you could send in a function that will get each date passed and determine if the date is enabled.
function disableCertainDaysOfWeek(date){
var TUE = 2;
var WED = 3;
var FRI = 5;
return [TUE, WED, FRI].indexOf(date.getDay()) > -1
}
$scope.opts = {
disabledDates: disableCertainDaysOfWeek
}
...
from ionic-datepicker.
Thanks for your suggestion and code snippet @justinobney, I will try to implement this feature in the next release.
from ionic-datepicker.
This is additional feature is not implemented in this component. But still you can specify the dates that you wish to disable. This is implemented in the latest version of this component.
from ionic-datepicker.
Related Issues (20)
- disabledDates problem HOT 1
- How to call date picker in index.html HOT 3
- Could not Set Date Format HOT 2
- How to Store DatePicker Date in Firebase HOT 2
- Unwanted behavior with Today button HOT 1
- Weird behavior on change month HOT 2
- Ionic datepicker range HOT 1
- Issue on updating object input-obj HOT 1
- No option to change the order of buttons. HOT 1
- [QUESTION] Select disabled days HOT 1
- Show only last six month date in date picker HOT 1
- Show last selected date in date picker HOT 3
- Similar code for Ionic 2? HOT 2
- Exception - didnt manage to figure it out HOT 1
- Previous and next button navigation issue HOT 2
- Multilanguage support
- function to update inputDate
- $scope.today is initialized on create and cannot be reset HOT 1
- SVG icons HOT 1
- How Can I Use Persian Caleneder In Ionic and Angular Datetime? HOT 1
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 ionic-datepicker.