Skip to content

Commit da6f53f

Browse files
committed
Fix error with option only-upload + add CHANGELOG
1 parent 0559300 commit da6f53f

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
lines changed

CHANGELOG.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
Changelog
2+
=========
3+
4+
1.0.1 (2025-12-03)
5+
------------------
6+
7+
- Fix error with option `only-upload`
8+
9+
10+
1.0.0 (2025-12-02)
11+
------------------
12+
13+
- First release

src/Livewire/Item.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,7 @@ protected function hasUploadedFile(): bool
271271

272272
protected function hasSavedFile(): bool
273273
{
274-
return $this->itemData['id'] !== null;
274+
return isset($this->itemData['id']);
275275
}
276276

277277
protected function hasFile(): bool

0 commit comments

Comments
 (0)