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?0 Replies