linjiancai / mobiscroll

Automatically exported from code.google.com/p/mobiscroll
0 stars 0 forks source link

minDate/maxDate not working on wheel/scroller mode #90

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

I tried the following:
 minDate: new Date()
 minDate: '1/1/2012'
 minDate: new Date('1/1/2012')
 minDate: '01/01/2012'
 minDate: new Date("1/1/2012 12:00 AM")

What is the expected output? What do you see instead?

The wheel starting from specified minDate values for day/month/year spinners. 
And ending on specified maxDate values for day/month/year

What version of the product are you using? On what operating system?
2.0rc2

Original issue reported on code.google.com by plippi...@gmail.com on 7 May 2012 at 3:24

GoogleCodeExporter commented 9 years ago
What exactly is not working? 
Here is a link with an example: http://jsfiddle.net/QC6Sf/5/

Original comment by diosla...@gmail.com on 7 May 2012 at 6:56

GoogleCodeExporter commented 9 years ago
I compared the html sources and found out that there are some differences in 
building up the scroller.

Your fiddle example:

<div class="test">
    <div class="dwo"></div>
  <div class="dw dwbg">
...

My code:
 <div class="dwo"></div> 
  <div class="dw test">
  <div class="dwv">08-05-2012</div>
  ...

As you can see the theme name is integrated into the div containing class 
"dwo". Also in my code I seem to missing the <li class="dw-v"> for the enabled 
date selector.

I am using it into a jq mobile page with a form

Original comment by plippi...@gmail.com on 8 May 2012 at 9:52

GoogleCodeExporter commented 9 years ago
You can close this issue. Somehow it was caching the old mobiscrol.1.6 source.  
:(

Original comment by plippi...@gmail.com on 8 May 2012 at 10:05

GoogleCodeExporter commented 9 years ago
Are you sure you're using 2.0rc2? Your generated html indicates that it is 1.6 
...

Original comment by diosla...@gmail.com on 8 May 2012 at 10:08

GoogleCodeExporter commented 9 years ago

Original comment by diosla...@gmail.com on 8 May 2012 at 10:10