bootstrap-datepicker Questions

4

Solved

I have a modal, illustrated below, When I select the input field that contains the date picker, the bootstrap modal event .on('show.bs.modal') gets triggered, which is super problematic because...
Apomorphine asked 7/5, 2015 at 23:18

14

Solved

I am using this bootstrap-datepicker for my datepicker. I'd like the datepicker to choose "today" for start day or default day. I cannot figure out how to set "today" automatically, so I did an in...
Wanderjahr asked 15/3, 2013 at 1:59

4

I have a birthday input text where I use Bootstrap datepicker v4. The form is inside <div class="media"> container. As shown in the pic, the datepicker calendar is hidden by the border of th...

5

Solved

I want to sort an array in ascending order. The dates are in string format ["09/06/2015", "25/06/2015", "22/06/2015", "25/07/2015", "18/05/2015"] Even need a function to check whether these da...
Malloy asked 7/6, 2015 at 7:16

3

Solved

I'm trying to set the value of the datepicker control with time. Not able to accomplish Tried converting to desired format app.component.html: <input id="requestdate" type="date&q...
Salomon asked 25/7, 2019 at 9:3

7

I am currently using bootstrap-datepicker (https://github.com/eternicode/bootstrap-datepicker), but want to be able to select entire weeks in the calendar (Monday to Sunday), as well as display the...
Haema asked 25/2, 2015 at 8:0

14

Solved

I have to set the date in my datepicker in dd/mm/yyyy format. Whet I'm trying to do, with Javascript is this: var year = 2014; var month = 5; var day = 10; var realDate = new Date(year, month...

4

Solved

I created a small program to select the date using bootstrap-datepicker and write it to MySQL. The catch is that this date must be local to Europe/Berlin regardless where the user is at the moment...
Michaelemichaelina asked 25/11, 2015 at 13:41

7

I'm using the bootstrap-datepicker to check the days where my website got sales and I want to display or highlight the dates there was at least one sale. I can pass the dates on JSON and then make ...
Lohman asked 19/3, 2014 at 18:18

2

Solved

I am using Bootstrap Datepicker within my application (See: https://bootstrap-datepicker.readthedocs.io/en/latest/index.html) and have set it up to work as seen below. I have no code issues and the...
Exhaustless asked 26/4, 2021 at 11:4

7

Solved

I need to use datepicker which provides me the option of restricting the selectable dates. We had been using jQuery UI which is used to support it using minDate, maxDate options. $("#id_date").da...
Denigrate asked 13/8, 2012 at 11:12

11

Solved

<script type="text/javascript"> // When the document is ready $(document).ready(function () { $('.datepicker').datepicker({ format: "yyyy-mm-dd", }).on('changeDate', function(ev){ // do...

3

Solved

Please look at my fiddle. I have a monthpicker which only allows users to select a year in advance but what I want is for past months to be disabled and also any months after a year in advance to ...
Carburetor asked 5/10, 2015 at 10:5

4

Solved

I'm using Bootstrap datepicker. The answer is probably obvious, but I can't figure out how to get the selected date as a string in the specified format. I used: <div id="myDate" data-date-forma...
Terracotta asked 12/8, 2013 at 20:10

3

Solved

This datepicker it is already created with other default options, but I need to update it with the following new options and it does not seem to work: // new options var new_options = { format: '...
Gonagle asked 30/5, 2017 at 14:43

8

Solved

I have an input element with an attached datepicker created using bootstrap-datepicker. <div class="well"> <div class="input-append date" id="dp3" data-date="2012-01-02" data-date-format...
Reformation asked 9/6, 2013 at 11:58

3

Solved

I have some inconvenience when I try render django-bootstrap-datepicker-plus widget according to this answer. Everything works fine but the Datepicker does not show up. My Django version is 1.10....

6

Solved

I am trying to use bootstrap-datepicker with Vue.js Trying to create a simple datepicker component. The problem is, when I write into input, component's data is updated. But when I use datepicker g...
Diatomic asked 23/1, 2017 at 11:43

3

Solved

I want to use datepicker https://bootstrap-datepicker.readthedocs.io/en/latest/index.html with Bootstrap 4. Following the examples on above page, I can make it work with Bootstrap 3. <!doc...
Gallant asked 30/3, 2018 at 10:31

4

Solved

Now I am trying to do something after user change the date. But seems like my ng-change is ignored. Here is my code sample: <input ng-change='changedate()' type="text" starting-day="2" s...
Ransell asked 7/4, 2015 at 17:23

7

Solved

I have have a div with a user's date of birth pre-populated with php: <div id="datepicker" class="input-group date"> <label for="dob">Date of Birth</label> <input type="text"...

8

I want to show two months using bootstrap datepicker. After search on google I am not able to find how to show multiple months using bootstrap datepicker. I found that I can use JQuery UI for displ...

6

Solved

I tried setting the disableTouchKeyboard option but it did nothing -- at least on iOS/Safari. The options I was specifically using were: $(".datepicker").datepicker({ autoclose: true, disableTou...

2

I am using react-strap npm package to use Bootstrap 4 components in my React app. When I try to add the datepicker react-bootstrap-date-picker npm install --save react-bootstrap-date-picker then t...
Jules asked 13/11, 2017 at 18:56

20

I wanted to disable all past date before current date, not with current date. I am trying by bootstrap datepicker library "bootstrap-datepicker" and using following code: $('#date').datep...
Midyear asked 20/4, 2013 at 17:16

© 2022 - 2024 — McMap. All rights reserved.