diff --git a/src/components/APIKeyDialog.vue b/src/components/APIKeyDialog.vue index 745efd4ab..471203763 100644 --- a/src/components/APIKeyDialog.vue +++ b/src/components/APIKeyDialog.vue @@ -159,6 +159,16 @@ export default { } }); }, + + /** Clear Form inputs */ + clearForm() { + this.key = { + name: "", + expires: this.minDate, + active: 1, + }; + this.noExpire = false; + }, } };