This commit is contained in:
Andras Bacsai committed 2023-05-08 21:56:44 +02:00
1 parent d3bf1137d7
commit ec3fe284b6
6 files changed
+68 -20

No files matched your search

@@ -23,22 +23,9 @@
@else
<div class="py-2">
<x-inputs.button type="submit">Save</x-inputs.button>
</div>
@endif
</form>
<form x-data="ContactForm()" @submit.prevent="submitForm">
<x-inputs.input id="host" noLabel />
<button type="submit">Create GitHub Application</button>
</form>
<script>
function ContactForm() {
return {
host: "",
submitForm() {
console.log(JSON.stringify(this.host));
},
};
}
</script>
</div>