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.

Error message is not hidden when invalid input is removed #1572

@ghost

Description

Hi I have posted a problem on the mailing list and Peter Bacon Darwin advised me to create a bug for that. He also mentioned that #1509 was similar to my problem, but it does not solve it.

link to the mailing list question: https://groups.google.com/forum/#!topic/angular/Hao7k4xxhIU

The Problem:

I have a form that containts a list of inputs. The inputs are required so the form is invalid when an input is empty. The inputs can be added and removed.

When I add a new input it is empty by default. Thus the form gets invalid when an input is added and an error message appears that all inputs are required.

So far it works. But when I remove a empty input, the form remains invalid and the error message does not disappear.

You can see the code in the following fiddle.
http://jsfiddle.net/VPCfk/32/

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions