-
Notifications
You must be signed in to change notification settings - Fork 236
Filter with an integer range #915
Comments
Interesting feature request! There is a DateRangePicker, but there is no NumberRange filter. |
I'll love it ... |
Feel free to open a PR ;) I can help with the server side implementation. But how would the client side look like? There is a DateRangePicker, but how would a numberrangepicker look like? |
What do you think about this one with two input tags ? I've all ready make this with an old Datatables version on CakePHP framework.
What is a PR ? :( Edit by Stephan: I've merged your comments, there is no need to place a new comment a minute after the other one. |
A PR is a Pull Request, but if you don't know what it is, I don't think you'll be able to create one ;). If you take a look at this code, you'll see what the DateRange looks like: https://github.com/stwe/DatatablesBundle/blob/master/Datatable/Filter/DateRangeFilter.php. The NumberRangeFilter should look like this, except it uses numbers instead of dates. |
And an idea could be to create a |
A "slider" filter existed before version 1.0, which was not ported in the v1.0 release. If anyone is interested in porting the filter, here is the link to v0.13: filter_slider.html.twig |
Is it possible to make a number filter with two inputs : one for minimal and one for maximal value ?
The text was updated successfully, but these errors were encountered: