Revisit Date/Time fields #6721
Replies: 7 comments
-
Maybe also just combine |
Beta Was this translation helpful? Give feedback.
-
Also change HTML input type
|
Beta Was this translation helpful? Give feedback.
-
Also add |
Beta Was this translation helpful? Give feedback.
-
Fuzzy date input logic? Next week, 3 weeks from today |
Beta Was this translation helpful? Give feedback.
-
Some people also use just 'parts' of the field (ie Year). To me a full datetime string is always more useful. It's just what it 'stores' that matters. |
Beta Was this translation helpful? Give feedback.
-
putting that on the DFV list for 2.8 to comb through all the field issues ... |
Beta Was this translation helpful? Give feedback.
-
Date/time/datetime fields have been rewritten for DFV in React, we should review what's left to be done here at some point soon. |
Beta Was this translation helpful? Give feedback.
-
(From Slack)
@yourpcmagician14
Ok so Safari and IE apparently don't honor minDate. I changed the code slightly to remove the minYear and maxYear options and did $args[ 'yearRange' ] = '1900:2016';
Also see https://github.com/pods-framework/pods-code-library/blob/master/example/hooks/filters/pods_form_ui_field_date_args/examples/date-range.php
Beta Was this translation helpful? Give feedback.
All reactions