Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Slider field #12728

Open
danharrin opened this issue May 10, 2024 · 8 comments
Open

Slider field #12728

danharrin opened this issue May 10, 2024 · 8 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@danharrin
Copy link
Member

danharrin commented May 10, 2024

Donate 馃挵 to fund this issue

  • You can donate funding to this issue. We receive the money once the issue is completed & confirmed by you.
  • 100% of the funding will be distributed between the Filament core team to run all aspects of the project.
  • Thank you in advance for helping us make maintenance sustainable!
Fund with Polar
@danharrin danharrin added the enhancement New feature or request label May 10, 2024
@danharrin danharrin added this to the v3 milestone May 10, 2024
@zepfietje
Copy link
Member

Could you add a little more context here, @danharrin? 馃檪

@danharrin
Copy link
Member Author

This library was the original suggestion for implementation https://refreshless.com/nouislider/

@danharrin
Copy link
Member Author

I'm happy to do the bulk of the work as long as you take a look at the design

@zepfietje
Copy link
Member

Why not use the native HTML slider?
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/range

@danharrin
Copy link
Member Author

I don't think you can add multiple points onto that

@binaryfire
Copy link
Contributor

@zepfietje Yeah the native slider has a fair few limitations vs noUi. noUi has multiple points, better step options, much smoother touch functionality etc.

Also a big plus is the events. You鈥檇 need to implement some custom debounce logic to avoid the same DDoS problem the color picker had (where updates were sent for every tiny movement). noUi has a bunch of events that could be tapped into for this.

@polar-sh polar-sh bot added the Fund label Jun 3, 2024
@danharrin danharrin removed the Fund label Jun 3, 2024
@polar-sh polar-sh bot added the Fund label Jun 3, 2024
@danharrin danharrin removed the fund label Jun 4, 2024
@danharrin
Copy link
Member Author

@binaryfire since you requested this, I thought I'd let you know. Polar is now active so you can donate to support us in fulfilling your feature.

@binaryfire
Copy link
Contributor

binaryfire commented Jun 4, 2024

@danharrin I plan to sponsor the overall project once I鈥檝e shipped something and actually start making money. I have zero income atm and a pile of debt so all I can contribute for now is PRs, suggestions, testing etc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Todo
Development

No branches or pull requests

3 participants