| 112 | | * tbw |
| | 112 | S3DateFilter renders two input fields for a date/date+time range, each using a calendar widget for input: |
| | 113 | |
| | 114 | [[Image(s3datefilter.png)]] |
| | 115 | |
| | 116 | Configuration: |
| | 117 | |
| | 118 | {{{ |
| | 119 | instance = S3DateFilter(field, _class="class", hide_time=False, comment=None) |
| | 120 | }}} |
| | 121 | |
| | 122 | Parameters: |
| | 123 | |
| | 124 | - '''field''' is a field selector (or a list of field selectors) for the field(s) to filter by |
| | 125 | |
| | 126 | Options: |
| | 127 | |
| | 128 | - '''hide_time''' to hide the time slider (...and only choose a date even if it's a datetime field), default is False (=show the time slider) |
| | 129 | - '''comment''' is a help text or tooltip widget to render with the filter widget (only rendered by S3FilterForm) |
| | 130 | |
| | 131 | HTML Attributes: |
| | 132 | |
| | 133 | - '''_class''' is the CSS class for the input field |