Uploaded image for project: 'Tapestry'
  1. Tapestry
  2. TAPESTRY-711

Do not give focus to disabled fields.

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 4.0
    • Fix Version/s: 4.0
    • Component/s: Framework
    • Labels:
      None

      Description

      I have a Form in which the first field is a disabled TextField.

      The page generated by Tapestry contains this JavaScript statement:
      Tapestry.set_focus('number');

      It tries to give focus to the disabled field. It should instead give focus to the first non-hidden, non-disabled field in the form.

        Attachments

          Activity

            People

            • Assignee:
              hlship Howard M. Lewis Ship
              Reporter:
              clanie Claus Nielsen
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: