We have moved our forum to GitHub Discussions. For questions about Phalcon v3/v4/v5 you can visit here and for Phalcon v6 here.

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?