Forum Discussion

kc's avatar
kc
Ace
13 years ago

Date Range Picker Component

 

I want to reuse the date range picker components that is already in some administrative page (e.g. metrix > user reports) . I want to capture 'from' and 'to' dates with a date picker that is already in the community styles and localized to the community's locale.

 

Is there any documentation in how to incorporate that?

 

thanks.

 

1 Reply

  • DougS's avatar
    DougS
    Khoros Oracle
    13 years ago

    Currently the date range picker component can only be used in forms contributed by the core Lithium application.  It would be nice to provide this functionality so it could be used in customizations without having to re-create the markup and logic. If you'd like to see this made available for customizations to use as well, please add an idea here:  http://lithosphere.lithium.com/t5/Ideas/idb-p/Lithium_Ideas (if you add one, post a link to it in this thread so that anyone who would like to see this exposed can kudo your idea).

     

    The date selector component will be used on any form field that is associated with an input configuration that has the "isDateTime" special check defined for it.  If you have a form with a field that you would like to make use the date selector component instead of a textbox, somone in support or professional services could set up the input configuration for the form field for you in your plugin (add a line in res/input.cfg for the input config for that form field, which currently cannot be done through Studio).

     

    -Doug