Uploaded image for project: 'Tapestry 5'
  1. Tapestry 5
  2. TAP5-364

BeanEditForm should include the same autofocus parameter that Form has

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 5.0.15
    • 5.1.0.0
    • None
    • 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

      Attachments

        Activity

          People

            hlship Howard Lewis Ship
            brydzewski brad
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: