Focus is not present on the appeared input field, after clicking on "Change password" / "Change PSK" buttons

XMLWordPrintable

    • S26-W14/15
    • 1

      There are several places on the frontend, where focus not on the input field, after clicking on Change password / Change PSK buttons, by result user cannot type input data straight away. Pressing Tab button will select the correct input field.

      The behavior is inconsistent with other locations, where focus is working correctly (for example - Media types -> Oauth -> Change client secret)

      Locations with the issue:

      • Authentication -> LDAP -> Server -> Bind password
      • Proxy -> Encryption -> Change PSK
      • General -> Autoregistration -> Change PSK
      • Data collection -> Host -> Change PSK
      • User settings -> Profile -> Change password
      • Users -> User -> Edit -> Change password
        Possible there are other locations with similar behavior.

      Note: on 7.0 and 7.4 the user form is working differently and form is completely reloaded, so focus is on the first input field of the form (might be expected).

      Steps to reproduce:
      Precondition: host with PSK is previously created

      1. Open Data collection -> Hosts -> Edit host with PSK
      2. Open Encrytption
      3. Click on Change PSK button
      4. Try to type in input

      Result:
      Focus is not on the appeared input field, user can't type in data straight away. In some cases pressing Tab will move focus on the correct field
      See video:

      Expected:
      The focus should be on the input field straight away. Behavior should be similar as in the Media type form - Oauth, for Change client secret button

        1. change_psk_host.gif
          102 kB
          Nikita Gogolevs
        2. focus_client_secret_expected.gif
          142 kB
          Nikita Gogolevs

            Assignee:
            Aleksandrs Subins
            Reporter:
            Nikita Gogolevs
            Team A
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - Not Specified
                Not Specified
                Logged:
                Time Spent - 6h 25m
                6h 25m