mirror of
https://seed.radicle.dev/rad:z4V1sjrXqjvFdnCUbxPFqd5p4DtH5.git
synced 2026-11-29 02:00:31 +08:00
Exit editable form state when pressing "Cancel"
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
This commit is contained in:
@@ -109,6 +109,7 @@
|
||||
const validate = (event: Event) => dispatch("validate", check(event));
|
||||
const cancel = () => {
|
||||
formFields = cloneDeep(fields);
|
||||
dispatch("cancel");
|
||||
};
|
||||
</script>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user