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

feat(form) - validating, working, and idle states for forms and form elements. #5986

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

joeenzminger
Copy link

Server validation and submission are asynchronous. It is useful in markup to be able to enable or disable form elements (such as working animations, submit buttons, etc.) while these asynchronous operations are in progress. The changes in this pull request add methods to form and input that allow directives that begin asynchronous actions to set form and input variables $validating, $working, and $idle, as well as adding the CSS classes ng-idle, ng-working, and ng-validating when these actions are in progress.

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

Successfully merging this pull request may close these issues.

3 participants