How filter form element?

I have element

$this->add((new Textarea('about'))
            ->setAttribute('rows', 5)
            ->setFilters(['trim'])
        );

filter trim not work

how to make it work?