remove persistent parameters from form render

mkoula
Generous Backer | 29
+
0
-

I have some presenter where I have some persistent attribute:

class SearchPresenter extends BasePresenter {
    /** @persistent */
    public $search;
...
    protected function createComponentSearchForm()
    {

My problem is that the persistent attribute is generated as hidden field in the form. Is there any easy way how to disable it in the form?