Uploaded image for project: 'OFBiz'
  1. OFBiz
  2. OFBIZ-6346

When used setDependentDropdownValuesJs.ftl precludes focus-field-name

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: Release Branch 12.04, Release Branch 13.07, Release Branch 14.12, Trunk
    • Fix Version/s: 14.12.01, 12.04.06, 13.07.02, 16.11.01
    • Component/s: framework
    • Labels:
      None

      Description

      When I created setDependentDropdownValuesJs.ftl I did not notice it preclude focus-field-name action in form widget. This is because the ajax call takes some time and when back the dependent form gets the focus.

      An easy fix is to add as parameter the name of a field to focus on in setDependentDropdownValuesJs.ftl after the initial sync Ajax call is done and focus on it if present

        Attachments

          Activity

            People

            • Assignee:
              jacques.le.roux Jacques Le Roux
              Reporter:
              jacques.le.roux Jacques Le Roux
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: