You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@isis.apache.org by "Daniel Keir Haywood (Jira)" <ji...@apache.org> on 2021/05/21 10:17:00 UTC

[jira] [Closed] (ISIS-2657) If action parameter first field is an auto-complete drop-down, then it doesn't get focus.

     [ https://issues.apache.org/jira/browse/ISIS-2657?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Daniel Keir Haywood closed ISIS-2657.
-------------------------------------

> If action parameter first field is an auto-complete drop-down, then it doesn't get focus.
> -----------------------------------------------------------------------------------------
>
>                 Key: ISIS-2657
>                 URL: https://issues.apache.org/jira/browse/ISIS-2657
>             Project: Isis
>          Issue Type: Bug
>          Components: Isis Viewer Wicket
>            Reporter: Daniel Keir Haywood
>            Assignee: Daniel Keir Haywood
>            Priority: Minor
>             Fix For: 2.0.0-M6
>
>         Attachments: image-2021-05-11-17-44-13-862.png
>
>
> This might have been an issue for a while, or perhaps due to the bootstrap upgrade.  
> Looking at jquery.isis.wicket.viewer.js, I see:
> {code:java}
> Wicket.Event.subscribe(Isis.Topic.FOCUS_FIRST_PARAMETER, function(jqEvent, elementId) {
>     setTimeout(function() {
>         $('#'+elementId).find('.inputFormTable.parameters').find('input,textarea,select,div.cbx').filter(':visible:first').focus();
>     }, 0);
> });
>  {code}
> while inspection of what has focus suggests that instead of <select> that it should be <span class='select2'>
> !image-2021-05-11-17-44-13-862.png!



--
This message was sent by Atlassian Jira
(v8.3.4#803005)