From 1b96297cc7d241420db23136613df153e6d78c90 Mon Sep 17 00:00:00 2001 From: Shawn Salat <31082405+ThinkSalat@users.noreply.github.com> Date: Mon, 17 Apr 2023 08:25:20 -0600 Subject: [PATCH 1/2] blur the url input when clicking submit to add info currently in input --- .../components/modals/notification/NotificationEditModal.vue | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/client/components/modals/notification/NotificationEditModal.vue b/client/components/modals/notification/NotificationEditModal.vue index 55264f03..9693f292 100644 --- a/client/components/modals/notification/NotificationEditModal.vue +++ b/client/components/modals/notification/NotificationEditModal.vue @@ -10,7 +10,7 @@
- + @@ -103,6 +103,8 @@ export default { if (this.$refs.modal) this.$refs.modal.setHide() }, submitForm() { + this.$ref.urlsInput.blur() + if (!this.newNotification.urls.length) { this.$toast.error('Must enter an Apprise URL') return From cc5e92ec8e6ae8b16dada95402d37bedb408cb81 Mon Sep 17 00:00:00 2001 From: advplyr <67830747+advplyr@users.noreply.github.com> Date: Tue, 18 Apr 2023 18:06:22 -0500 Subject: [PATCH 2/2] Update client/components/modals/notification/NotificationEditModal.vue --- client/components/modals/notification/NotificationEditModal.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/components/modals/notification/NotificationEditModal.vue b/client/components/modals/notification/NotificationEditModal.vue index 9693f292..2fc10ce6 100644 --- a/client/components/modals/notification/NotificationEditModal.vue +++ b/client/components/modals/notification/NotificationEditModal.vue @@ -103,7 +103,7 @@ export default { if (this.$refs.modal) this.$refs.modal.setHide() }, submitForm() { - this.$ref.urlsInput.blur() + this.$refs.urlsInput?.forceBlur() if (!this.newNotification.urls.length) { this.$toast.error('Must enter an Apprise URL')