fix(livewire): stop broadcast handlers from wiping in-progress form input

This commit is contained in:
Aditya Tripathi committed 2026-05-20 19:04:43 +00:00
1 parent 65c0c92c02
commit b9f773c1d9
18 files changed
+470 -247

No files matched your search

+3 -1
View File
@@ -93,7 +93,9 @@ class Sentinel extends Component
{
if ($event['serverUuid'] === $this->server->uuid) {
$this->server->refresh();
$this->syncData();
// Only refresh display-only state; never re-sync text-input properties
// (would clobber any unsaved typing — see coolify#6062 / #6354 / #9695).
$this->sentinelUpdatedAt = $this->server->sentinel_updated_at;
$this->dispatch('success', 'Sentinel has been restarted successfully.');
}
}