We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0658943 commit 8e201d6Copy full SHA for 8e201d6
src/Fields/ChoiceField.php
@@ -44,7 +44,7 @@ public function validate($value)
44
{
45
parent::validate($value);
46
47
- if ($this->isEmpty($value) || !$this->validValue($value)) {
+ if (!$this->validValue($value)) {
48
$error_message = PHPFormConfig::getIMessage("INVALID_CHOICE");
49
50
if (is_array($value)) {
0 commit comments