Skip to content

Purple Cow

Choose a tag to compare

@chouseknecht chouseknecht released this 09 Oct 19:30
· 11 commits to master since this release
  • Fixed hide/show fields and form validation. When fields are hidden using the ng-hide direcitve, they will now be removed from the angular form controller. When fields are shown using ng-show, they will be added to the angular form controller. Previously fields were not automatically added and removed from the controller, and this often caused the form to be in an invalid state due to errors on a hidden field. The user could not fix the problem, and the save button would be disabled.
  • Added a clearError() method to clear errors on a single field.
  • Code cleanup: removed afEmpty factory
  • Changing the module name to angularforms from AngularFormsModule. The factory is still called AngularForms.
  • For the modal module, changed the name to angularforms.modal from AngularFormsModalModule.