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 7b1f569 commit ce6c57fCopy full SHA for ce6c57f
src/FieldModifier.php
@@ -26,7 +26,7 @@ public static function sortJsonKeys($attribute)
26
public static function convertValue($value)
27
{
28
if ($value instanceof \UnitEnum) {
29
- $jsonData = $value->name;
+ $value = $value->value;
30
}
31
32
$jsonData = json_decode($value);
0 commit comments