Widget with datepicker
I'm trying to make a widget that will be displayed on a Dashboard. Widget displays some statistics based on the selected date.
I've created a Widget with a form and added form to the layout, but I'm having trouble how to get date from the form and pass it to my report function.
This is my code:
View is just displaying the form and the data received from
getMonthlyReports
function.
How do I pass the date value from form to the getMonthlyReports
function and refresh the widget?6 Replies
did u do it ?
i have same problem i want datepicker in my widget
$this->filters
i try it already but not works
``````
this is my code btw
like i have widget of chart
and i want to top side add date picker and using this date picker this chart will update
any ideas?