Send and receive SMS messages using your Android phone programmatically via a simple HTTP API
fix: remove form submit on new message send button
Acho Arnold Ewin6d1e5c304fbe
diff --git a/web/app/pages/messages/index.vue b/web/app/pages/messages/index.vueindex e8c89e76..0a6d53a9 100644--- a/web/app/pages/messages/index.vue+++ b/web/app/pages/messages/index.vue@@ -67,7 +67,7 @@ async function sendMessage() {},})notificationsStore.addNotification({- message: 'Message Sent!',+ message: 'Message sent successfully!',type: 'success',})await router.push('/threads')@@ -86,7 +86,7 @@ async function sendMessage() {if (data.attachments) newErrors.set('attachments', data.attachments)if (data.from) {notificationsStore.addNotification({- message: data.from[0],+ message: data.from[0]!,type: 'error',})}@@ -132,7 +132,7 @@ onMounted(async () => {You can also text a short code like<v-code>24273</v-code> without entering a full phone number.</p>- <form @submit.prevent="sendMessage">+ <form><v-phone-inputv-model="formPhoneNumber"v-model:country="phoneCountry"@@ -164,6 +164,7 @@ onMounted(async () => {:block="mdAndDown":loading="sending":icon="mdiSend"+ @click="sendMessage">Send Message</loading-button>