Skip to content

Commit 4265a66

Browse files
committed
fixes
1 parent 2cbaf3c commit 4265a66

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

resources/views/admin/posts/edit.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,7 @@ function updatePublishedAtVisibility() {
290290
publishedAtInput.disabled = false;
291291
} else {
292292
publishedAtWrapper.style.display = 'none';
293-
publishedAtInput.value = '';
293+
// Don't clear the value - preserve existing published dates from database
294294
publishedAtInput.disabled = true;
295295
}
296296
}

0 commit comments

Comments
 (0)