We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent df21663 commit 823aa94Copy full SHA for 823aa94
1 file changed
src/Widgets/Widget.php
@@ -80,7 +80,7 @@ protected function getContext(string $name, $value, string $label = null, array
80
*/
81
protected function formatValue($value)
82
{
83
- return !empty($value) ? (string) $value : null;
+ return $value !== false ? (string) $value : null;
84
}
85
86
/**
0 commit comments