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

docs(*): document the breaking change introduced in e1da4be #15434

Merged

Conversation

gkalpak
Copy link
Member

@gkalpak gkalpak commented Nov 25, 2016

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
Docs update.

What is the current behavior? (You can also link to an open issue here)
Although e1da4be introduced a breaking change, it wasn't documented as such.

What is the new behavior (if this is a feature change)?
The breaking change is documented.

Does this PR introduce a breaking change?
No.
(In a way. "Let me introduce you this breaking change. It has been around for 2 releases, but I don't think you've met.)"

Please check if the PR fulfills these requirements

- **input:** add support for binding to `input[type=range]` ([913016](https://github.com/angular/angular.js/commit/9130166767c4792c5d32d08a918fc7becf32c9a6) [#5892](https://github.com/angular/angular.js/issues/5892) [#14870](https://github.com/angular/angular.js/issues/14870))
- **input:**
- add support for binding to `input[type=range]` ([913016](https://github.com/angular/angular.js/commit/9130166767c4792c5d32d08a918fc7becf32c9a6) [#5892](https://github.com/angular/angular.js/issues/5892) [#14870](https://github.com/angular/angular.js/issues/14870))
- add support for `step` to `input[type=number]` ([e1da4be](https://github.com/angular/angular.js/commit/e1da4bed8e291003d485a8ad346ab80bed8ae2e3) [#10597](https://github.com/angular/angular.js/issues/10597))
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think that these two 913016 and e1da4be should be features.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

They are 😃 Tricked by the shortened GitHub diff?


If you want to restore the previous behavior (disabling `step` validation), but still want to be
able to use the `step` attribute, you can overwrite the built-in `step` validator by using a custom
directive. For example:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How about?

If you want to restore the previous behavior (use the step attribute while disabling step validation), you can overwrite ...

@petebacondarwin
Copy link
Contributor

Good work @gkalpak as usual you put me to shame by being much more fastidious than me :-)

@petebacondarwin petebacondarwin merged commit 9399d68 into angular:master Nov 25, 2016
@gkalpak
Copy link
Member Author

gkalpak commented Nov 25, 2016

Nah! We're rather taking turns at that 😃
(Although you do use fancier words 😛)

@gkalpak gkalpak deleted the docs-document-step-for-number-bc branch November 25, 2016 11:40
ellimist pushed a commit to ellimist/angular.js that referenced this pull request Mar 15, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants