Datepicker field gets opens when pressing enter on single-line textbox fields anywhere on the customer portal view

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: Low
    • None
    • Affects Version/s: 3.2.8, 3.8.1, 3.9.2
    • Component/s: Customer Portal
    • None
    • 1
    • Severity 3 - Minor

      Summary

      On Jira Service Desk server, pressing the enter key while on a single-line textbox (summary, employee name, etc.) on the customer portal view triggers any datepicker elements currently on the page.

      Steps to Reproduce

      1. Setup an instance of Jira Server v7.5.0 and Service Desk on the same instance, v3.8.1 (though we replicated the same issue on Jira Server v7.2.8, JSD 3.2.8 without problems).
      2. Create a service desk project
      3. From Administration > Projects, select your service desk project, then click on "Request types" from the left hand side panel
      4. Pick any request type and click on "Edit fields"
      5. Ensure that you have both "Summary" and "Due date" - if the relevant fields aren't there, add them via "Add field" on the top-right hand side
      6. Move fields around so that the "Due date" fields doesn't immediately follow "Summary" (you can even put it before)
      7. Access the customer portal view with a user that can create ticket (or configure the application appropriately to allow you to do so)
      8. Click on the same issue type that you configured.
      9. On the issue creation form, click on the "Summary" textbox and press enter (whether or not you type anything into the field is irrelevant).

      Expected Results

      The fields gets set to whatever value was typed into it, and the focus moves to the next field.
      Alternatively, nothing happens. In no case should the datepicker open (unless it's the next available field).

      Actual Results

      The datepicker field (i.e. "Last working day", in this case) opens up, wherever it was set on the page.

      Actual Results Screenshots

      • Before pressing enter on text field:
      • After:

      Notes

      This appears to have nothing to do with tabindex attibutes. Tabbing through fields works every bit as expected.

      Workaround

      No workaround for the time being.

        1. Screen Shot 2018-01-31 at 5.39.06 PM.png
          210 kB
          Stefano Capuzzimato
        2. Screen Shot 2018-01-31 at 5.38.54 PM.png
          150 kB
          Stefano Capuzzimato

            Assignee:
            Unassigned
            Reporter:
            Stefano Capuzzimato (Inactive)
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: