How to exclude 'buttons' from formsCreated 2 years ago by kiltedup
I am trying to add a form where there is only a single action (submit) and no buttons.
However in the form builder, if I do not include
protected $buttons, I get the default 'Cancel' button.
If I add
protected $buttons =  then I get an error :
"Method Anomaly\Streams\Platform\Ui\Form\FormCriteria::__toString() must not throw an exception, caught ErrorException: Invalid argument supplied for foreach()"
Looking at the User Login and Register form builders as an example, I can see that they have one single action and no buttons but I can't for the life of me work out how to do that in my form !!!
Any pointers appreciated.