I want to create a dashboard widget to display the latest form submissions but with some conditions. I wanted to extend the \Statamic\Forms\Widget class to add the custom logic but its all in the html() method.
Adding a submissions() method to add the custom logic will help a lot...
I want to create a dashboard widget to display the latest form submissions but with some conditions. I wanted to extend the
\Statamic\Forms\Widget
class to add the custom logic but its all in thehtml()
method.Adding a
submissions()
method to add the custom logic will help a lot...