Missing filters for DateTime element type

Created on 15 November 2022, about 2 years ago
Updated 10 August 2023, over 1 year ago

Problem/Motivation

The datetime element in webform is treated as a string value in the exposed filter, it doesn't provide the same operators (e.g. In Between) like date element.

Steps to reproduce

  1. Install and enable webform, webform_ui, webform_views.
  2. Create an element choosing datetime type that collects both date and time
  3. Create few test submissions
  4. Create a views displaying webform_submission data, pull the datetime webform element out
  5. Choose the datetime element as the exposed filter
  6. The filter settings form is shown as the string operator

Proposed resolution

Create related classes and config schema to deal with datetime element type.

🐛 Bug report
Status

Fixed

Version

5.0

Component

Code

Created by

🇹🇼Taiwan g-brodiei

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024