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

feat(input): add input type=range support #7370

Closed
wants to merge 7 commits into from

Conversation

TylerEich
Copy link
Contributor

Request Type: feature

How to reproduce:

Component(s): misc core

Impact: small

Complexity: small

This issue is related to:

Detailed Description:

Bind model of to number (like ) rather than string. Range inputs represent numerical values; therefore, a numerical binding makes more sense than a string binding.

Other Comments:

Closes #5892, #1189

Tyler Eich added 6 commits January 3, 2014 18:51
Safari on iOS sends a mousedown event. This triggers ng-click-active
again after touchstart, which can mess up CSS that depends on this
class.
@mary-poppins
Copy link

Thanks for the PR! Please check the items below to help us merge this faster. See the contributing docs for more information.

  • Uses the issue template (#7370)

If you need to make changes to your pull request, you can update the commit with git commit --amend.
Then, update the pull request with git push -f.

Thanks again for your help!

Bind model of <input type="range"> to number (like <input type="number">) rather than string. Range inputs represent numerical values; therefore, a numerical binding makes more sense than a string binding.

Closes angular#1189, angular#5892
@TylerEich TylerEich changed the title Input range support feat(input): add input type=range support May 7, 2014
@mary-poppins
Copy link

I'm sorry, but I wasn't able to verify your Contributor License Agreement (CLA) signature. CLA signature is required for any code contributions to AngularJS.

Please sign our CLA and ensure that the CLA signature email address and the email address in this PR's commits match.

If you signed the CLA as a corporation, please let us know the company's name.

Thanks a bunch!

PS: If you signed the CLA in the past then most likely the email addresses don't match. Please sign the CLA again or update the email address in the commit of this PR.
PS2: If you are a Googler, please sign the CLA as well to simplify the CLA verification process.

@TylerEich TylerEich added cla: no and removed cla: yes labels May 9, 2014
@mary-poppins
Copy link

CLA signature verified! Thank you!

Someone from the team will now triage your PR and it will be processed based on the determined priority (doc updates and fixes with tests are prioritized over other changes).

lgarron added a commit to cubing/alg.cubing.net that referenced this pull request Jun 18, 2014
@Narretz
Copy link
Contributor

Narretz commented Jul 2, 2014

It looks like there's only one change in this PR. I'm gonna close this for now, but feel free to open a new one. Thanks!

@Narretz Narretz closed this Jul 2, 2014
@darabos
Copy link

darabos commented Jul 9, 2014

Sorry, did you mean to merge this?

It looks like there's only one change in this PR.

Yes, it's a super useful one-line change. Apologies if I'm missing something. (I just ran into the issue with input[type=range] -- this change would have made my life easier. Thanks!)

@Narretz
Copy link
Contributor

Narretz commented Jul 9, 2014

Oh, I was confused by the other commits in the PR that have nothing to do with the issue. You need to clean up the pull request, and also add some tests to show that range behaves correctly.

@jeffbcross jeffbcross force-pushed the master branch 4 times, most recently from e8dc429 to e83fab9 Compare October 10, 2014 17:37
cironunes added a commit to cironunes/angular.js that referenced this pull request Oct 21, 2014
the input[type=range] behavior is the same of an input[type=number]
with min=0, max=100 and step=1 as defaults

Closes angular#5892, angular#8241, angular#7370
cironunes added a commit to cironunes/angular.js that referenced this pull request Oct 21, 2014
the input[type=range] behavior is the same of an input[type=number]
with min=0, max=100 and step=1 as defaults

Closes angular#5892, angular#8241, angular#7370
@Narretz Narretz self-assigned this Jun 18, 2015
@Narretz
Copy link
Contributor

Narretz commented Jun 18, 2015

Dupe of #9715

@Narretz Narretz closed this Jun 18, 2015
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.

Add support for the input type=range
5 participants