Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit eed5d93

Browse files
committed
Eliminate double call of the transformKey method
1 parent bcc317d commit eed5d93

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/FormBuilder.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -1360,7 +1360,7 @@ protected function getModelValueAttribute($name)
13601360
return $this->model->getFormValue($key);
13611361
}
13621362

1363-
return data_get($this->model, $this->transformKey($name));
1363+
return data_get($this->model, $key);
13641364
}
13651365

13661366
/**

0 commit comments

Comments
 (0)