Skip to content

Commit add2c74

Browse files
committed
Merge pull request #135 from dennisoderwald/patch-1
2 parents 10111f5 + e7db3dd commit add2c74

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
@@ -1107,7 +1107,7 @@ protected function getModelValueAttribute($name)
11071107
return $this->model->getFormValue($name);
11081108
}
11091109

1110-
return data_get($this->model, $this->transformKey($name));
1110+
return data_get($this->model->toArray(), $this->transformKey($name));
11111111
}
11121112

11131113
/**

0 commit comments

Comments
 (0)