Daniel Keir Haywood created ISIS-2657:
-----------------------------------------

             Summary: 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
             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)

Reply via email to