[2.0.0] Form element clear do not works as in 1.3.4 #10044

DestinyMKas opened this Issue Apr 15, 2015 · 1 comment


None yet

2 participants



1.3.4 version had form with password field. I don't want to render password, so I used $element->clear(). In 2.0.0 it not works.
I tried to do $element->setDefault('')->clear(), but it didn't worked too.

As a workaround I did:
$this->getEntity()->password = '';
But this method has some issues.

@sergeyklay sergeyklay added this to the 3.0.2 milestone Oct 2, 2016
@sergeyklay sergeyklay self-assigned this Oct 2, 2016

Fixed in 3.0.x branch.
Could you please check 3.0.x branch?

git clone git@github.com:phalcon/cphalcon.git
cd cphalcon
git checkout 3.0.x

zephir fullclean
zephir build
@sergeyklay sergeyklay closed this Oct 2, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment