Skip to content

Browser back button to a form with a text field with a label does not load the label #96

Open

Description

@tlemburg

Steps to Reproduce

  1. Create a POM with a form, a text field inside the form, and a label on the form.
  2. Give the form a posts action (on a button), with a redirect. 3.
    Complete the form with some value in the text field, engaging the redirect.
  3. Then click "Back" on your browser.
  4. The form and field are loaded with the previous value, but the label is not loaded into the top of the text field.

Expected behavior
The label should be loaded.

Other
A similar but different problem can be seen in the presenters demo:

  1. Go to https://powerful-bastion-96181.herokuapp.com/text_fields and type something in the first field.
  2. Click away to another page.
  3. Click browser's back button.
  4. Text field loads with a weird border (but does have the label).

Desktop (please complete the following information):

  • OS: Mac OSX Mojave
  • Browser Chrome
  • Version 72

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions