> Probably #3.

I dont understand .. You said Probably #3. but i think you mean #2
1 - prevent the input from being auto-focused on load
2 - show the datepicker on load
3 - activate datepicker show when the input is clicked, because datepicker
use "focus" event and not "click"


2013/9/29 Dan Haywood <[email protected]>

> On 28 September 2013 13:18, Othmen Tiliouine <[email protected]
> >wrote:
>
> > what is the best ?
> >
> >
> Probably #3.
>
> There are two related requirements:
> a. that the first field on the page has focus
> b. that the datepicker is shown when the date field has focus.
>
> When the first field happens to be a datepicker, that means we should be
> showing the datepicker immediately.
>
> I don't know which exact javascript event fits best for that, happy for you
> to try out.
>
> (If and when we refactor to use Bootstrap 3, we'll possibly need to revisit
> anyway.  So this ticket is very much in the "nice to have" category).
>
> Thx
> Dan
>
>
>
>
> >
> > 2013/9/28 Othmen Tiliouine <[email protected]>
> >
> > > Hi Dan,
> > >
> > > I think there is tree solutions :
> > >
> > > - prevent the input from being auto-focused on load
> > > - show the datepicker on load
> > > - activate datepicker show when the input is clicked, because
> datepicker
> > > use "focus" event and not "click"
> > >
> > >
> > >
> >
> http://stackoverflow.com/questions/10718082/show-jquery-ui-datepicker-on-input-field-click
> > >
> > >
> > > Othmen
> > >
> > >
> > > 2013/9/20 Dan Haywood (JIRA) <[email protected]>
> > >
> > > Dan Haywood created ISIS-544:
> > >> --------------------------------
> > >>
> > >>              Summary: If auto-focus on an action param date, then
> > doesn't
> > >> show calendar picker.
> > >>                  Key: ISIS-544
> > >>                  URL: https://issues.apache.org/jira/browse/ISIS-544
> > >>              Project: Isis
> > >>           Issue Type: Improvement
> > >>           Components: Viewer: Wicket
> > >>     Affects Versions: viewer-wicket-1.2.0
> > >>             Reporter: Dan Haywood
> > >>             Assignee: Dan Haywood
> > >>             Priority: Minor
> > >>              Fix For: viewer-wicket-1.4.0
> > >>
> > >>
> > >>
> > >>
> > >> --
> > >> This message is automatically generated by JIRA.
> > >> If you think it was sent incorrectly, please contact your JIRA
> > >> administrators
> > >> For more information on JIRA, see:
> > http://www.atlassian.com/software/jira
> > >>
> > >
> > >
> >
>

Reply via email to