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.
2 parents 9536357 + 5e3b6a0 commit 953502cCopy full SHA for 953502c
CHANGELOG.md
@@ -8,6 +8,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).
8
### Fixed
9
- `data` and `files` were wrongly exposed on `Form` class. Changed visibility to private and added `getData` and `getFiles` methods.
10
- Allow non-required file fields
11
+ - Fixed choice field values check
12
13
## [2.0.3] - 2017-12-13
14
### Added
src/Widgets/ChoiceWidget.php
@@ -175,7 +175,7 @@ protected function formatValue($value)
175
$values[] = parent::formatValue($v);
176
}
177
} else {
178
- $values = !empty($value) ? [parent::formatValue($value)] : [];
+ $values = $value !== false ? [parent::formatValue($value)] : [];
179
180
181
return $values;
0 commit comments