--
You received this message because you are subscribed to the Google Groups "AngularJS" group.
To post to this group, send email to ang...@googlegroups.com.
To unsubscribe from this group, send email to angular+u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/angular?hl=en.
On Sat, Mar 31, 2012 at 7:45 PM, Raj <rvaur...@gmail.com> wrote:
> However, it would still be nice to be able to get the form back in a
> pristine form.
+1 for being able to set form back to its pristine state. I'm
struggling exactly with the same problem where I want to have a form
and a list of items displayed. On each form "submition" I would like
to add a new item to a list and turn the form back to its pristine
state.
I can see there there is a $setDirty method on FormController, would
be great to have sth like $setPristine for symetry :-) Unless there is
another, more angular-way of doing things!
Dear angular team - could such a FormController.$setPristine method be
added? Or maybe there is a better approach?
Cheers,
Pawel
On Wed, Apr 4, 2012 at 6:34 PM, Igor Minar <ig...@angularjs.org> wrote:
> can someone file an issue for this and link to this thread?
Done: https://github.com/angular/angular.js/issues/856
Cheers,
Pawel
Cheers,
Pawel
what version of angular will this show up in?. I don't see it in v1.0.2