Textalk / angular-schema-form-datepicker

Datepicker add-on for Angular Schema Form using pickadate!
MIT License
43 stars 57 forks source link

Date Range in Filter #19

Closed ragsnas closed 9 years ago

ragsnas commented 9 years ago

Hi,

as you know, the datepicker is also used as a filter in the list view of angular-schema-form. Problem here: Barely anyone ever wants to filter for one special date. The most common use-case is filter for a date range (i.e. I want to see all Users who logged in during the last week).

Is there already support for this? If not, what would be best practise to build it?

davidlgj commented 9 years ago

Hi @ragsnas, what do you mean by "filter in the list view of angular-schema-form"? Are you're asking for a date widget that support choosing a range of dates?

ragsnas commented 9 years ago

Oui! That is exactly what i am talking about.

On 17 Apr 2015, at 14:31, David Jensen notifications@github.com wrote:

Hi @ragsnas, what do you mean by "filter in the list view of angular-schema-form"? Are you're asking for a date widget that support choosing a range of dates?

— Reply to this email directly or view it on GitHub.

davidlgj commented 9 years ago

The datepicker uses http://amsul.ca/pickadate.js/date/ and as far as I can tell that doesn't support ranges.

So there are two options, either you can use two date fields to do the range or try to find another datepicker that does support ranges and make an add-on for it.