public removeParsley ( ) : void | ||
리턴 | void |
public function removeParsley()
{
$this->parsleyApplied = false;
if ($this->field && $this->customMessage) {
$this->field->setAttribute(sprintf('data-parsley-%s-message', $this->getConstraintName()), '');
}
if (get_class($this->field) === 'CheckboxSetField') {
$this->field->setAttribute('data-parsley-multiple', '');
}
}
public function removeParsley() { parent::removeParsley(); $this->field->setAttribute('data-parsley-dateiso', ''); }