Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Bug: Firefox: Input fields with 'required' get red shadow/border before submitting #12102

Closed
@ThomasLandauer

Description

@ThomasLandauer

Firefox 38.0.5
AngularJS 1.4.0

input fields get the red invalid border/shadow on pageload (i.e. before the form is submitted), if all three conditions are met:

  • ng-app defined
  • ng-model set to any name
  • required attribute present

Here's a fiddle: https://jsfiddle.net/5yh58orm/11/

In Chrome 43.0 and Internet Explorer 11 there is (as expected) no border.

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