bootstrap icon indicating copy to clipboard operation
bootstrap copied to clipboard

Range input: Add a workaround to enable track color

Open louismaximepiton opened this issue 3 years ago • 4 comments

Description

Wanted to add a workaround to add some color on the track part on the range input. I would be fine if this is not planned in Bootstrap, but I couldn't spot any issue/PR about it.

Motivation & Context

Could help folks to implement this functionnality.

Type of changes

  • [x] New feature (non-breaking change which adds functionality)

Checklist

  • [x] I have read the contributing guidelines
  • [x] My code follows the code style of the project (using npm run lint)
  • [x] My change introduces changes to the documentation
  • [x] I have updated the documentation accordingly
  • [x] I have added tests to cover my changes
  • [x] All new and existing tests passed

Live previews

Related issues

NA

louismaximepiton avatar Nov 16 '22 09:11 louismaximepiton

Regarding the --value, do you think it should be prefixed by bs- ? Tried some things one last commit to make --value more visible in the doc.

louismaximepiton avatar Nov 16 '22 10:11 louismaximepiton

Do we still want this @julien-deramond?

mdo avatar Dec 29 '22 06:12 mdo

Do we still want this @julien-deramond?

Might be some things to tweak here and there in this PR but on my side I like the idea to provide a solution for folks out there totally optional that isn't embedded directly within the library.

julien-deramond avatar Dec 29 '22 19:12 julien-deramond

Tried rebasing this and making it work again, but ran into an issue with the custom color not working. Might've been a bad rebase or merge, but want to take a crack at it @louismaximepiton? Happy to see this section added.

mdo avatar Feb 14 '23 23:02 mdo