Skip to content

Commit 8d897e0

Browse files
old(attr) on edit view.
issue #26
1 parent 4bcd09f commit 8d897e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Migrations/SyntaxBuilder.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -412,7 +412,7 @@ private function htmlField($column, $variable, $field, $type)
412412

413413
if($type == 'view-edit-content')
414414
{
415-
$value = '{{ $'.$variable.'->'.$column.' }}';
415+
$value = '{{ old("'.$column.'") or $'.$variable.'->'.$column.' }}';
416416
}
417417

418418
switch ($field['type']) {

0 commit comments

Comments
 (0)