initialDate option is not working
See original GitHub issueFrom your example, in JSBin the initialDate
option should set today’s date in the textbox, but it’s not working as expected.
$('#example2').calendar({
type: 'date',
initialDate: null
});
I want to show today date prefilled in the textbox and also enable user to select dates.
Issue Analytics
- State:
- Created 6 years ago
- Comments:6 (2 by maintainers)
Top Results From Across the Web
initialDate not working in bootstrap-datetimepicker?
Looking at the code it looks like the initialDate is not considered at all if your input element has a value attribute. So...
Read more >InitialDate is not working ? · Issue #197 · smalot/bootstrap ...
today is 16 - 01 - 2014 i change to date 17 but it is not working.
Read more >[OutSystems UI] InitialDate in Date Picker won't set. Always ...
This will work. Hi Vani,. I'm referring to a native app. The DatePicker does not have an on Initialize event, only an onSelect....
Read more >initialDate - Docs - FullCalendar
initialDate. The initial date displayed when the calendar first loads. Date. When not specified, this value defaults to the current date.
Read more >Notifications 3 month after initial date? - Microsoft Community
Select the custom formula option, and use this formula (change the B2 in the formula to the actual cell address). =B2<=EDATE(TODAY(),-3).
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
‘set date’ works fine on 0.0.8. and the latest Semantic-UI framework. This issue is probably due to initial value is null or date is invalid. If you are using a framework other than Jquery, make sure the values are not null when you creating the calendar object. For e.g. in Aurelia, you need to set @observable for initialDate variable then call ‘set date’ Also if you are using moment date object, try formatting it. E.g. ‘DD-MM-YYYY’
@mdehoog
set date
is not working in 0.0.8 can you confirm that. Theset date
was working which I had used previously refer above. Also, how can I check ifupdateInput = true, fireChange = true
is working for set date.I am working with vue.js and when I change the date it’s not getting updated, reason, being change event is not getting triggered.
If possible please update it in JSBin with
set date
example.Thank you.