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

View File

@@ -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>