diff options
| author | Vojta Jina | 2012-02-15 17:16:02 -0800 |
|---|---|---|
| committer | Vojta Jina | 2012-02-28 17:46:58 -0800 |
| commit | 21c725f1a12d1de758cab6e4c4fafc5c420eb565 (patch) | |
| tree | 4d1b362387de2c41748a63b5baee0f18c3c8e5ec /src/scenario/dsl.js | |
| parent | e23fa768aaf6d1d966c335979fe8316330c2fe28 (diff) | |
| download | angular.js-21c725f1a12d1de758cab6e4c4fafc5c420eb565.tar.bz2 | |
refactor(forms): Even better forms
- remove $formFactory completely
- remove parallel scope hierarchy (forms, widgets)
- use new compiler features (widgets, forms are controllers)
- any directive can add formatter/parser (validators, convertors)
Breaks no custom input types
Breaks removed integer input type
Breaks remove list input type (ng-list directive instead)
Breaks inputs bind only blur event by default (added ng:bind-change directive)
Diffstat (limited to 'src/scenario/dsl.js')
| -rw-r--r-- | src/scenario/dsl.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/scenario/dsl.js b/src/scenario/dsl.js index fb0037e0..f6cc8086 100644 --- a/src/scenario/dsl.js +++ b/src/scenario/dsl.js @@ -203,7 +203,7 @@ angular.scenario.dsl('input', function() { return this.addFutureAction("input '" + this.name + "' enter '" + value + "'", function($window, $document, done) { var input = $document.elements('[ng\\:model="$1"]', this.name).filter(':input'); input.val(value); - input.trigger('keydown'); + input.trigger('blur'); done(); }); }; |
