8b8c65dd1efc9c155e048f30a51ab905e57d79d6
Problem: - Saat user klik X button untuk hapus preview image/file - Form state masih menyimpan imageId/fileId lama - Saat submit, data lama tetap terkirim - User tidak bisa benar-benar menghapus image/file Solution: - Clear apbdesState.edit.form.imageId saat hapus preview gambar - Clear apbdesState.edit.form.fileId saat hapus preview dokumen - Now user can truly make image/file empty Files changed: - src/app/admin/(dashboard)/landing-page/apbdes/[id]/edit/page.tsx Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com>
…
…
…
…
…
…
…
Failed to Generate README
Description
Languages
TypeScript
99.4%
HTML
0.4%