Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-23828

Checkbox state is autocompleted when pressing Back and breaks UI functionality

XMLWordPrintable

    • Icon: Problem report Problem report
    • Resolution: Won't fix
    • Icon: Trivial Trivial
    • None
    • 6.0.25rc1, 6.4.10rc1, 7.0.0alpha9
    • Frontend (F)
    • Sprint candidates

      On Chromium based browsers the state of checkboxes is autocompleted when pressing the Back button. This leads to broken UI functionality in some places.

      Scenario 1

      1. Open a form that has an input field which is only active when a checkbox is active (for example Administration->Housekeeping);
      2. Uncheck a checkbox - note how an input field is now disabled;
      3. Open another page without saving the changes (just click another menu item);
      4. Now press Back to open the first form again.

      Result
      The checkbox state is Unchecked but the input field is enabled, which is an impossible state.

      Scenario 2

      1. Open a list page with selectable table rows (for example Data collection->Hosts);
      2. Check a row - note how the row is highlighted;
      3. Open another page (just click another menu item);
      4. Now press Back to open the list again.

      Result
      The checkbox state is Checked but the row is not highlighted.

      Demo

      Expected

      According to some question on stack overflow this functionality is related to autocomplete functionality. This problem does not exist on Firefox, because there is no such "autocomplete" functionality. Maybe it should be turned off for Chromium based browsers manually.

            zabbix.dev Zabbix Development Team
            jnulle Janis Nulle
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: