How to set default date in DatePicker form field in filtersForm?
I have a custom dashboard class, where I want to add a filtersForm, with a date field that should default to todays date (now()), but the default is never being set in my form when I try to do this:
I have attached screenshots of my form field when null (on page load) and when I select a date.
Does anyone know how I can set the default date correctly?
2 Replies