Good afternoon - there are four questions we have on various aspects of Toolset:
1) What are our options for styling/rendering the Datepicker UI used as a filter in a view? Would we be able to convert it from the current calendar icon which users need to click on to the default HTML5 datepicker input ui?
I've done some research on these in the forums, but haven't had any luck so far and wanted to reach out directly. Thanks in advance for your time and help!
Hi,
Thank you for contacting us and I'd be happy to assist.
As our support policy recommends starting a new ticket for each question or concern, I've created a separate ticket for each of your questions.
The drawback of using the HTML5 'date' type input field is that it is shown differently in different browsers and is not compatible with Safari and Internet Explorer.
( ref: hidden link )
For this reason, the Toolset date type field uses jQuery's datepicker ( ref: hidden link ). Certain processing is performed in the background to convert the user's selected date into the UNIX timestamp format before it can be used in the view's search.
To replace that with the HTML5 'date' type input field, a fair deal of customization will be needed and you'll also have to ensure that the selected date value is in the UNIX timestamp format.
regards,
Waqar
My issue is resolved now. Thank you!