it's for scheduling, you should only be able to schedule from present to 
future but not have backdate options

On Wednesday, December 2, 2015 at 4:21:32 AM UTC-5, Colin Law wrote:
>
> On 2 December 2015 at 07:03, fugee ohu <[email protected] <javascript:>> 
> wrote: 
> > can i pass min and max to datetime_select ? 
>
> Why have you asked the same question twice? 
>
> You can use validations to ensure that only valid values are saved, 
> but datetime_select is not able to limit the range. 
>
> I believe that in order to do that you would need a js solution such as 
> http://amsul.ca/pickadate.js/date/, though I have not used it. 
>
> Are you actually trying to input an elapsed time or is it an actual 
> datetime that you want? 
>
> Colin 
>

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/69d6d408-2bf1-4916-a8d1-b19ae75ae38a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to