Skip to content

Commit a0f39b7

Browse files
authored
Merge pull request #80 from pascalbaljetmedia/pascalbaljet-patch-1
Update FormBuilder.php
2 parents c2f2cb6 + 6937eed commit a0f39b7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/FormBuilder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -401,7 +401,7 @@ private function getValue()
401401
return old($name, $value);
402402
}
403403

404-
return $formData[$name] ?? null;
404+
return $formData[$name] ?? $value;
405405
}
406406

407407
private function buildHtmlAttrs(array $attributes, $appendAttrs = true): string

0 commit comments

Comments
 (0)