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

form.$invalid not updated correctly #970

Closed
coli opened this issue May 19, 2012 · 4 comments
Closed

form.$invalid not updated correctly #970

coli opened this issue May 19, 2012 · 4 comments

Comments

@coli
Copy link

coli commented May 19, 2012

http://jsfiddle.net/ADukg/117/

The form starts out invalid.

Then a button removes all form fields.

The form.$invalid is still true, it should be false.

Note that if the button is pressed again, form.$invalid becomes false.

@Hoverbear
Copy link

+1
Having this issue in Firefox, Opera, and IE. Chrome is fine.

@coli
Copy link
Author

coli commented Sep 13, 2012

This issue is becoming a big issue, you don't have to remove all fields, you only have to remove the invalid field and the form is still invalid... (Eg: we show different fields depending on a type input on the form)

@IgorMinar is there any easy workarounds for now?

@coli coli closed this as completed Sep 14, 2012
@coli
Copy link
Author

coli commented Sep 14, 2012

Due to Jquery incompatibility.

@pkozlowski-opensource
Copy link
Member

Same as #1572

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants