Skip to content

Commit

Permalink
Merge branch '3.x' into 4.x
Browse files Browse the repository at this point in the history
  • Loading branch information
danharrin committed May 21, 2024
2 parents 3cac711 + 922dc18 commit e47df1e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
8 changes: 7 additions & 1 deletion packages/actions/resources/lang/en/import.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,21 @@
'form' => [

'file' => [

'label' => 'File',

'placeholder' => 'Upload a CSV file',

'rules' => [
'duplicate_columns' => '{0} The file must not contain more than one empty column header.|{1,*} The file must not contain duplicate column headers: :columns.',
],

],

'columns' => [
'label' => 'Columns',
'placeholder' => 'Select a column',
],

],

'actions' => [
Expand Down
1 change: 0 additions & 1 deletion packages/forms/src/Components/Repeater.php
Original file line number Diff line number Diff line change
Expand Up @@ -1082,7 +1082,6 @@ public function getCachedExistingRecords(): Collection
if (
$this->getModelInstance()->relationLoaded($relationshipName) &&
(! $this->modifyRelationshipQueryUsing)

) {
return $this->cachedExistingRecords = $this->getRecord()->getRelationValue($relationshipName)
->when(filled($orderColumn), fn (Collection $records) => $records->sortBy($orderColumn))
Expand Down

0 comments on commit e47df1e

Please sign in to comment.