Skip to content

Phalcon\Forms\Element::setLabel('0') render error #12148

Closed
@pwoszczyk

Description

Phalcon\Forms\Element::setLabel($label) render incorrect if $label = '0'.

Example:
$field = new Numeric('value');
$field->setLabel('0');
$field->label() // value

  • Phalcon version: 2.0.13
  • PHP Version: 5.6.11
  • Operating System: Windows 7
  • Installation type: precompiled dll
  • Server: Apache

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions