Element clear not working #12165

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

Projects

None yet

2 participants

@Semihal
Semihal commented Aug 25, 2016 edited

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 milestone: 3.0.3, 3.0.2 Sep 30, 2016
@sergeyklay
Collaborator

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

@sergeyklay
Collaborator

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
@Semihal
Semihal commented Oct 2, 2016

Yes, thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment