(23 January 2015)
- Directive is now attached by
ngModel
attribute - Added
webserver
task to thegulpfile
to run demos locally - Added form initialization section to the README
- Added delayed initialization demo
(04 January 2015)
-
#7: "Array and object models are not compared using deep comparison" (thanks to Vaibhav).
angular.equals()
method is now used to deeply compare objects -
Added demo for select field with
multiple
option
(04 January 2015)
The following public-properties of the form controller are no longer considered public, you should not relay on them, cause their behavior can change in the future:
ngForm.modifiedCount
- can show a bigger number now, cause it indicates all modified input elements (including all radio buttons)ngForm.modifiedModels
- now contains list of references to the modified models instead of just model names
If you still need this functionality - please create an issue to discuss this.
Also, form initialization strategy has changed - please see the Form initialization section of the README.
-
#8: "Doesn't work when bound object member isn't set" (thanks to Chris Yates). We are now using a more robust way to initialize master value (initialization flag)
-
#5: "Issues with ng-repeat" (thanks to @prudd). We are now storing a list of references to the modified model controllers instead of their names
-
Updated all demos
-
All dependencies for demos are now included with Bower
-
Added
ngRepeat
example to the repository -
Updated README
(12 November 2014)
-
#4: "Doesn't work with Ui-Bootstrap's Timepicker" (thanks to @prudd)
-
#2: "Fixed ngModel existence check". Issue revisited. Implemented general solution for both
1.2.x
and1.3.x
branches of AngularJS -
Added configuration provider
-
Introduced ability to disable directive globally
-
Introduced ability to enable directive only for specific elements or forms
-
CSS classes are now configurable
-
Added demos to the repository
-
Added Gulp task to deploy demos to GitHub Pages
-
Updated README
(10 November 2014)
-
#2: "Fixed ngModel existence check" (thanks to @atte-backman)
-
#3: "Crashes if model property does not exists when eval() in reset function" (thanks to @kornalius). Fixed a problem when ngModel pointing to a missing variable will cause exception when input is reset
-
Done some minor refactoring
-
Updated Demo Plunk
(29 October 2014)
- AngularJS 1.3 is now tested and supported
- Updated Demo plunk
(25 October 2014)
- Removed unused
gulp-clean
dependency - Fixed an issue where form modification state will not be properly updated after a call to form's
$setPristine()
method
(13 October 2014)
-
Done some serious refactoring. Low-level details moved to a separate functions, so the main logic became more abstract and readable. Performance and memory footprint should also improve
-
Fixed bug when empty element would not recover it's master value when reset is invoked on the parent form
-
Introduced distribution files (normal and minified versions) and a proper build process using Gulp
-
Improved README
(13 October 2014)
- Updated README (no code changes)
- Added new Demo via Plunker
(08 October 2014)
- Updated versioning (no code changes)
(30 May 2014)
- Improved initialization code
- Updated comparison function to allow more weak comparison like
"1"
(string) and1
(integer) - Fixed bug with
$setPristine
method, now it should work correctly in all cases - Improved modification tracking
- Added property
ngForm.modifiedModels
(list of names for modified models) - Demo updated
(18 May 2014)
-
Public API stabilized