feat: reset form after save on collection page

This commit is contained in:
mahdahar 2026-03-07 16:25:06 +07:00
parent 527e047e68
commit 38e27f1172

View File

@ -297,7 +297,7 @@ $roleConfig = $config['phlebo'];
this.showToast(`Updated ${totalChanged} sample(s)`, 'success'); this.showToast(`Updated ${totalChanged} sample(s)`, 'success');
setTimeout(() => { setTimeout(() => {
this.fetchPatientData(); this.resetForm();
}, 1000); }, 1000);
} catch (error) { } catch (error) {
console.error('Error:', error); console.error('Error:', error);