Upgrade to 3.2.5
This commit is contained in:
@@ -76,7 +76,7 @@ return [
|
||||
/**
|
||||
* If `false`, spellcheck will be switched off
|
||||
*/
|
||||
'spellcheck' => function (bool $spellcheck = false) {
|
||||
'spellcheck' => function (bool $spellcheck = true) {
|
||||
return $spellcheck;
|
||||
},
|
||||
|
||||
@@ -95,10 +95,15 @@ return [
|
||||
[
|
||||
'pattern' => 'upload',
|
||||
'action' => function () {
|
||||
return $this->field()->upload($this, $this->field()->uploads(), function ($file) {
|
||||
$field = $this->field();
|
||||
$uploads = $field->uploads();
|
||||
|
||||
return $this->field()->upload($this, $uploads, function ($file, $parent) use ($field) {
|
||||
$absolute = $field->model()->is($parent) === false;
|
||||
|
||||
return [
|
||||
'filename' => $file->filename(),
|
||||
'dragText' => $file->dragText(),
|
||||
'dragText' => $file->dragText('auto', $absolute),
|
||||
];
|
||||
});
|
||||
}
|
||||
|
Reference in New Issue
Block a user