diff --git a/src/BladeDirectives.php b/src/BladeDirectives.php index 2403411d..b555255e 100644 --- a/src/BladeDirectives.php +++ b/src/BladeDirectives.php @@ -47,7 +47,7 @@ public static function formSection(string $expression): string */ public static function formField(string $expression): string { - $variables = explode(', ', $expression); + $variables = explode(', ', $expression, 2); $field = $variables[0]; $properties = $variables[1] ?? '[]';