Uploaded image for project: 'Causeway'
  1. Causeway
  2. CAUSEWAY-2657

If action parameter first field is an auto-complete drop-down, then it doesn't get focus.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 2.0.0-M6
    • Viewer Wicket
    • None

    Description

      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:

      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);
      });
       

      while inspection of what has focus suggests that instead of <select> that it should be <span class='select2'>

      Attachments

        1. image-2021-05-11-17-44-13-862.png
          274 kB
          Daniel Keir Haywood

        Activity

          People

            danhaywood Daniel Keir Haywood
            danhaywood Daniel Keir Haywood
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: