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

Microsoft Edge: ng-model doesn't work with input type="number" and arrow keys #15366

@X-Y

Description

@X-Y

Note: for support questions, please use one of these channels: https://github.com/angular/angular.js/blob/master/CONTRIBUTING.md#question. This repository's issues are reserved for feature requests and bug reports.

Do you want to request a feature or report a bug?
Bug

What is the current behavior?
In Microsoft Edge, I want the ng-model value to update when I press arrow keys inside an input with type="number", however it is not

If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem via https://plnkr.co or similar (template: http://plnkr.co/edit/tpl:yBpEi4).

https://plnkr.co/edit/yZaGxkYG87C1YCNSKnf0?p=preview

  1. Open link in Microsoft Edge
  2. Select the input box
  3. Press up or down arrow key

What is the expected behavior?

The number beneath the input box should be synchronized with the value inside the input box

What is the motivation / use case for changing the behavior?

This is one way for users to interact with numeric input boxes

Which versions of Angular, and which browser / OS are affected by this issue? Did this work in previous versions of Angular? Please also test with the latest stable and snapshot (https://code.angularjs.org/snapshot/) versions.

angularjs: 1.5.8
browser: Microsoft Edge 38

Other information (e.g. stacktraces, related issues, suggestions how to fix)

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions