Skip to content

Commit ce4fee9

Browse files
kukulichdg
authored andcommitted
ChoiseControl should be ommited only if all options are disabled (#121)
1 parent b70e5da commit ce4fee9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Forms/Controls/BaseControl.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ public function setOmitted($value = TRUE)
226226
*/
227227
public function isOmitted()
228228
{
229-
return $this->omitted || ($this->disabled && $this->omitted === NULL);
229+
return $this->omitted || ($this->isDisabled() && $this->omitted === NULL);
230230
}
231231

232232

0 commit comments

Comments
 (0)