public function createField() { $field = new \Ip\Form\Field\Password(array('label' => $this->label, 'name' => $this->field, 'layout' => $this->layout, 'attributes' => $this->attributes)); $field->setValue($this->defaultValue); return $field; }