1
vote
Accepted
How do I change the input type created by views daterange filter?
This hook_preprocess_input__textfield() hook can be use: to convert field type from text to datetime-local
function Mymodulename_preprocess_input__textfield(&$vars) {
$view_id = \Drupal::...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
datetime × 12187 × 401
views × 401
8 × 172
entities × 153
theming × 76
nodes × 70
forms × 69
javascript × 40
rules × 37
i18n-l10n × 30
webforms × 28
6 × 27
database × 26
users × 23
feeds × 14
tokens × 14
migrations × 13
commerce × 11
blocks × 10
hooks × 10
ajax × 10
emails × 10
importing-exporting × 10
9 × 9