[web2py] Re: date picker in modal not work

2018-02-09 Thread Luis Sucuc

The best solution will be to use another library. I tried it and it works 
correctly.
¡Thank you!
El viernes, 9 de febrero de 2018, 10:42:50 (UTC-6), Leonel Câmara escribió:
>
> It's appending the calendar element to the body instead of the form-group, 
> you will probably have to fix the included calendar not to do that or use 
> another calendar (like bootstrap datepicker) if you're going to use it in a 
> modal..
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[web2py] Re: date picker in modal not work

2018-02-09 Thread Leonel Câmara
It's appending the calendar element to the body instead of the form-group, 
you will probably have to fix the included calendar not to do that or use 
another calendar (like bootstrap datepicker) if you're going to use it in a 
modal..

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[web2py] Re: date picker in modal not work

2018-02-09 Thread Luis Sucuc
This does not work, I get the same result. :(




El viernes, 9 de febrero de 2018, 9:54:48 (UTC-6), Leonel Câmara escribió:
>
> This is a css problem, the calendar is positioning absolutely relative to 
> the body instead of to where you placed the widget. Try a 
> style="position:relative;" on that form group.
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[web2py] Re: date picker in modal not work

2018-02-09 Thread Leonel Câmara
This is a css problem, the calendar is positioning absolutely relative to 
the body instead of to where you placed the widget. Try a 
style="position:relative;" on that form group.

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.