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', '');
}
}