core/datafilter/filtertypes/datetime

Description:
  • Base filter for a date/time selector

Source:
Author:
License:
  • http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later

Base filter for a date/time selector

Methods

(async) getContext(initialValues) → {Promise.<{filtertype: *, afterlabel: *, beforelabel: *, required, aftervalue: *, beforevalue: *}>}

Description:
  • Get the context object to be sent through to the mustache template. This can be overridden by any filters which inherit from datetime to add/exclude data.

Source:
Parameters:
Name Type Description
initialValues array
Returns:
Type
Promise.<{filtertype: *, afterlabel: *, beforelabel: *, required, aftervalue: *, beforevalue: *}>