From 4636218aaa7610d9c98889f3afd9b8d6c9dd94f2 Mon Sep 17 00:00:00 2001 From: Claudio Dekker Date: Wed, 8 Dec 2021 18:40:19 +0100 Subject: [PATCH] WIP --- resources/js/Pages/Contacts/Create.vue | 18 +++++++++--------- resources/js/Pages/Contacts/Edit.vue | 9 +++------ resources/js/Pages/Users/Create.vue | 8 ++++---- resources/js/Pages/Users/Edit.vue | 2 +- resources/js/Shared/SelectInput.vue | 9 ++------- resources/js/Shared/TextInput.vue | 9 ++------- resources/js/Shared/TextareaInput.vue | 9 ++------- resources/js/app.js | 4 +--- 8 files changed, 24 insertions(+), 44 deletions(-) diff --git a/resources/js/Pages/Contacts/Create.vue b/resources/js/Pages/Contacts/Create.vue index 6b91dac..cbf9cb6 100644 --- a/resources/js/Pages/Contacts/Create.vue +++ b/resources/js/Pages/Contacts/Create.vue @@ -57,16 +57,16 @@ export default { data() { return { form: this.$inertia.form({ - first_name: null, - last_name: null, + first_name: '', + last_name: '', organization_id: null, - email: null, - phone: null, - address: null, - city: null, - region: null, - country: null, - postal_code: null, + email: '', + phone: '', + address: '', + city: '', + region: '', + country: '', + postal_code: '', }), } }, diff --git a/resources/js/Pages/Contacts/Edit.vue b/resources/js/Pages/Contacts/Edit.vue index 7374fe4..e74007c 100644 --- a/resources/js/Pages/Contacts/Edit.vue +++ b/resources/js/Pages/Contacts/Edit.vue @@ -1,5 +1,6 @@