Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
DestinyMKas opened this issue Apr 15, 2015 · 1 comment
Closed

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

DestinyMKas opened this issue Apr 15, 2015 · 1 comment
Assignees
Labels
bug A bug report status: medium Medium
Milestone

Comments

@DestinyMKas
Copy link
Contributor

Hello,

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
@sergeyklay
Copy link
Contributor

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

git clone [email protected]:phalcon/cphalcon.git
cd cphalcon
git checkout 3.0.x

zephir fullclean
zephir build

@niden niden added bug A bug report status: medium Medium and removed Bug - Medium labels Dec 23, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug A bug report status: medium Medium
Projects
None yet
Development

No branches or pull requests

3 participants