add button reset form

This commit is contained in:
Wikzyy
2025-03-16 12:58:16 +07:00
parent fad6803140
commit 520a17872d
2 changed files with 6 additions and 3 deletions

View File

@ -199,7 +199,10 @@ const EditDialog = () => {
</div>
</div>
<div className="flex justify-end">
<div className="flex justify-end gap-5">
<Button type="button" variant="outline" onClick={resetForm}>
Reset
</Button>
<Button className="btn btn-primary">Save Changes</Button>
</div>
</div>