remove persistent parameters from form render

Notice: This thread is very old.
mkoula
Backer | 52
+
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?