• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 133
  • Last Modified:

Jquery based responsive date picker

Dear Experts:

I would like a recommendation for a Jquery based responsive date picker:

We are considering
http://eonasdan.github.io/bootstrap-datetimepicker/

https://uxsolutions.github.io/bootstrap-datepicker/?markup=component&format=&weekStart=&startDate=&endDate=&startView=0&minViewMode=0&maxViewMode=4&todayBtn=false&clearBtn=false&language=en&orientation=auto&multidate=&multidateSeparator=&keyboardNavigation=on&forceParse=on#sandbox

but the issue on both controls are: (Real Ipad and mobile galaxy - as simulator could trick you that works OK)
- They do not close (hide the picker) when day is selected.
- They open UP sometimes in mobile hiding the page contents above the date picker location.

My current requirements are:
- Responsive (must work Real Ipad and mobile galaxy)
- When day is selected the date picker must close.
- When picker is shown, it must open down the picker location.
- Ability to customize colours and icon
- It supports IE11 onwards, Chrome (latest and previous 3 releases) and Safari.
- It supports Iphone 7 and up and Galaxy S5 and up.

We are currently using Bootstrap latest 3.x version and Jquery 1.12.x
0
Miguel Oz
Asked:
Miguel Oz
  • 3
  • 2
2 Solutions
 
David S.Commented:
I use the date picker from UXSolution's repository, but only for browsers that fail a support test for that input type.

The colors are set via the stylesheet. What icons are you referring to?

I found some more answers in the documentation:
The "autoclose" option is disabled by default.
Setting the "orientation" option to "bottom auto" may position it how you want.
0
 
lenamtlCommented:
Hi,

I do prefer uxsolutions but it does not have the time integrated, so you will need another picker for the time.

I do use eonasdan when I need the time to be in the same plugin.

If you need the datepicker to appear in another plugins (ie table plugin)  you may want to check if this is compatible.

Both are working fine with Bootstrap and both have support and are multi-language.

You will need to check the options for each to decide which one will meet the most your needs and make some tests.
for example the way it's closing, opening and position are options so maybe you have not set them correctly.
0
 
Miguel OzSoftware EngineerAuthor Commented:
We have some issues when the default picker is used with an icon to date picker as shown in the picture below:  (date picker from UXSolution)
 date range sampleSome of the issues that are icon related:
- Icon does not show picker unless you click the icon two times.
- The  date picker and the keyboard are displayed at the same time.
Our typical usage is:
- One date picker.
- Conditional range date picker.
- This html construct is used in a CSHTML view. (Not inside plug ins)

Unfortunately this has been done by a third party provider, thus my preference to find out if somebody else has faced similar issues and already have a solution for it or I may be hitting some limitations and need to see other solutions
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

 
lenamtlCommented:
You will get one example with icon (outside of the input)

Go to the demo https://uxsolutions.github.io/bootstrap-datepicker
Select Component

 You can use Glyphicon or Fontawesome

Here is my code this is working fine with Bootstrap responsive.

<div class="input-group date">
	<span class="input-group-addon">
		<i class="fa fa-calendar"></i>
	</span>
	<input type="text" disabled="" class="form-control" id="test" name="test" value="" >
</div>

Open in new window

0
 
Miguel OzSoftware EngineerAuthor Commented:
I will test and let you know
0
 
Miguel OzSoftware EngineerAuthor Commented:
Thanks for your help, I have an extra question regarding date range support at
https://www.experts-exchange.com/questions/29088733/How-to-setup-bootstrap-responsive-date-picker-range-with-icons.html
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now