Skip to content

Element clear not working #12165

Closed
Closed
@Semihal

Description

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

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions