bootstrap-datepicker in wrong position ?

566 views
Skip to first unread message

Subs Terr

unread,
Jun 13, 2015, 9:45:08 AM6/13/15
to bootstrap-...@googlegroups.com
hi,

i have a simple form and bootstrap datepicker is showing in the middle of input.
The code is something like this:

<form>
	<div class="form-group">
            <label for="birthday" class="control-label">Birthday</label>           
            <input type="date" id="birthday" name="birthday" class="form-control" />          
        </div>

</form>

js code is:

          $('#birthday').datepicker({
              format: 'yyyy-mm-dd',
              endDate: '0'
        });

i attached a picture of the result, and i'm using bootstrap 3.3.4 and jquery 1.11.3
with the Stefan Petre's original code the position of datepicker just works fine.


i would appreciate a solution,
thank you

datepicker.png
Reply all
Reply to author
Forward
0 new messages