angular.js/docs/content/guide
Vojta Jina 06d0955074 feat(ngModel): update model on each key stroke (revert ngModelInstant)
It turns out that listening only on "blur" event is not sufficient in many scenarios,
especially when you use form validation you always had to use ngModelnstant
e.g. if you want to disable a button based on valid/invalid form.

The feedback we got from our apps as well as external apps is that the
ngModelInstant should be the default.

In the future we might provide alternative ways of suppressing updates
on each key stroke, but it's not going to be the default behavior.

Apps already using the ngModelInstant can safely remove it from their
templates. Input fields without ngModelInstant directive will start propagating
the input changes into the model on each key stroke.
2012-04-03 10:10:44 -07:00
..
dev_guide.bootstrap.auto_bootstrap.ngdoc Rewrite of Automatic Initialization doc 2012-03-27 08:28:34 -07:00
dev_guide.bootstrap.manual_bootstrap.ngdoc Updated manual bootstrap document 2012-03-27 18:06:00 -07:00
dev_guide.bootstrap.ngdoc Doc fixes in bootstrap 2012-04-03 07:07:49 -07:00
dev_guide.compiler.ngdoc Doc fixes in bootstrap 2012-04-03 07:07:49 -07:00
dev_guide.compiler.testing_dom_element.ngdoc docs(compiler): update the compiler docs 2012-01-25 11:53:59 -08:00
dev_guide.compiler.understanding_compiler.ngdoc docs(links): corrected borken links 2012-03-13 19:36:09 -07:00
dev_guide.di.ngdoc style(docs): make jslint happy - fix some warnings 2011-11-14 20:31:19 -08:00
dev_guide.di.understanding_di.ngdoc feat(injector): infer _foo_ as foo 2012-03-16 10:52:40 -07:00
dev_guide.di.using_di_controllers.ngdoc doc(guide/controller): fix examples 2012-03-23 16:54:48 -07:00
dev_guide.e2e-testing.ngdoc style(docs): make jslint happy - fix some warnings 2011-11-14 20:31:19 -08:00
dev_guide.expressions.ngdoc docs(*): fixing various docs 2012-03-13 23:17:43 -07:00
dev_guide.forms.ngdoc feat(ngModel): update model on each key stroke (revert ngModelInstant) 2012-04-03 10:10:44 -07:00
dev_guide.i18n.ngdoc docs(*): fixing various docs 2012-03-13 23:17:43 -07:00
dev_guide.introduction.ngdoc docs(*): remove @workInProgress from everywhere 2011-10-12 23:04:48 -07:00
dev_guide.mvc.ngdoc docs(*): remove @workInProgress from everywhere 2011-10-12 23:04:48 -07:00
dev_guide.mvc.understanding_controller.ngdoc docs(guide/controllers): add a section on testing controllers 2012-03-20 15:23:58 -07:00
dev_guide.mvc.understanding_model.ngdoc docs(links): corrected borken links 2012-03-13 19:36:09 -07:00
dev_guide.mvc.understanding_view.ngdoc docs(links): corrected borken links 2012-03-13 19:36:09 -07:00
dev_guide.overview.ngdoc docs(*): fixing various docs 2012-03-13 23:17:43 -07:00
dev_guide.scopes.internals.ngdoc docs(links): corrected borken links 2012-03-13 19:36:09 -07:00
dev_guide.scopes.ngdoc docs(links): corrected borken links 2012-03-13 19:36:09 -07:00
dev_guide.scopes.understanding_scopes.ngdoc docs(links): corrected borken links 2012-03-13 19:36:09 -07:00
dev_guide.services.$location.ngdoc docs(guide/location): fix example 2012-03-20 12:05:57 -07:00
dev_guide.services.creating_services.ngdoc docs(*): various doc fixes 2012-01-17 09:49:37 -08:00
dev_guide.services.injecting_controllers.ngdoc docs(guide): fix non-working example + add docs for implicit DI 2012-03-13 17:14:50 -07:00
dev_guide.services.managing_dependencies.ngdoc docs(*): various doc fixes 2012-01-17 09:49:37 -08:00
dev_guide.services.ngdoc docs(*): various doc fixes 2012-01-17 09:49:37 -08:00
dev_guide.services.testing_services.ngdoc docs(*): various doc fixes 2012-01-17 09:49:37 -08:00
dev_guide.services.understanding_services.ngdoc docs(*): various doc fixes 2012-01-17 09:49:37 -08:00
dev_guide.templates.css-styling.ngdoc docs(compiler): update the compiler docs 2012-01-25 11:53:59 -08:00
dev_guide.templates.databinding.ngdoc docs(*): remove @workInProgress from everywhere 2011-10-12 23:04:48 -07:00
dev_guide.templates.filters.creating_filters.ngdoc docs(links): corrected borken links 2012-03-13 19:36:09 -07:00
dev_guide.templates.filters.ngdoc docs(*): various doc fixes 2012-01-17 09:49:37 -08:00
dev_guide.templates.filters.using_filters.ngdoc style(docs): make jslint happy - fix some warnings 2011-11-14 20:31:19 -08:00
dev_guide.templates.ngdoc docs(*): fixing various docs 2012-03-13 23:17:43 -07:00
dev_guide.unit-testing.ngdoc docs(guide/unit-testing): fixed typo in code example 2012-03-26 16:06:16 -07:00
ie.ngdoc doc(fixes): to better support ng-directive notation 2012-03-11 21:31:35 -07:00
index.ngdoc docs(links): corrected borken links 2012-03-13 19:36:09 -07:00
module.ngdoc docs(guide/module): fix syntax error and expectation in test example 2012-03-26 16:06:46 -07:00