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

Element clear not working #12165

Closed
Semihal opened this issue Aug 25, 2016 · 3 comments
Closed

Element clear not working #12165

Semihal opened this issue Aug 25, 2016 · 3 comments
Assignees
Labels
bug A bug report status: medium Medium
Milestone

Comments

@Semihal
Copy link

Semihal commented Aug 25, 2016

Does not work in the form of a $elemnt->clear() while transfer in the form of any entity.

        $confirmPassword = new Password('confirmPassword', [
            'placeholder'   => '***********',
        ]);

        $confirmPassword->addValidator(
            new Confirmation([
                'with'  => 'password',
                'message'   => 'Пароли должны совподать'
            ])
        );

        $confirmPassword->clear();

The field is not cleared. If only to refresh the page.

Details

  • Phalcon version: 3.0.0
  • PHP Version: 7.0.8
  • Operating System: Win10
  • Installation type: installing dll
  • Zephir version (if any): ---
  • Server: Apache
  • Other related info (Database, table schema): Mysql5.7
@sergeyklay sergeyklay self-assigned this Aug 25, 2016
@sergeyklay sergeyklay modified the milestones: 3.0.3, 3.0.2 Sep 30, 2016
@sergeyklay
Copy link
Contributor

@Semihal Could you please take a look at #12280? In general this is what you need. Right?

@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

@Semihal
Copy link
Author

Semihal commented Oct 2, 2016

Yes, thank you

@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