Tapestry 5
  1. Tapestry 5
  2. TAP5-364

BeanEditForm should include the same autofocus parameter that Form has

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 5.0.15
    • Fix Version/s: 5.1.0.0
    • Component/s: None
    • Labels:
      None

      Description

      Tapestry creates this javascript to auto focus on the first form field.

      Tapestry.DEBUG_ENABLED = true;
      Tapestry.onDOMLoaded(function() {
      $('textarea').activate();
      });

      It would be nice to toggle this feature on and off. Currently I have a form at the bottom of a large page. I would like to prevent the browser from auto scrolling to the bottom of the page to focus on the form.

      If there is already a workaround please let me know

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Howard M. Lewis Ship
            Reporter:
            brad
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development