Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
/angular.jsPublic archive

fix(form): make ngForm $pristine after nested control.$setPristine() (brute force version)#13798

Conversation

linoleum-js
Copy link

When calling $setPristine on the nested form or control,
form becomes $pristine if all the nested controls are pristine

Closes#13715

When calling $setPristine on the nested form or control,form becomes $pristine of all the nested controls are pristineClosesangular#13715
…(brute force version)When calling $setPristine on the nested form or control,form becomes $pristine of all the nested controls are pristineClosesangular#13715
@petebacondarwin
Copy link
Contributor

Thanks for this@linoleum-js but I think that a better algorithm would be needed. The suggestion of a counter would work well. Do you want to try to implement that instead?

@petebacondarwinpetebacondarwin modified the milestones:Ice Box,1.6.xJan 19, 2016
@linoleum-js
Copy link
Author

@petebacondarwin I already did#13773.@gkalpak ask me to split two solutions into different PRs

@petebacondarwin
Copy link
Contributor

Thanks. It is good to cross reference these things.

Sign up for freeto subscribe to this conversation on GitHub. Already have an account?Sign in.
Reviewers
No reviews
Assignees
No one assigned
Labels
Projects
None yet
Milestone
Ice Box
Development

Successfully merging this pull request may close these issues.

3 participants
@linoleum-js@petebacondarwin@googlebot

[8]ページ先頭

©2009-2025 Movatter.jp