new submit metode

This commit is contained in:
ayntk-ai
2024-08-12 13:23:09 +02:00
parent f6cb39732a
commit d13c321c3d

View File

@@ -48,7 +48,7 @@
@endforeach @endforeach
@endif @endif
@else @else
<form wire:submit='saveVariables' class="flex flex-col gap-2"> <form wire:submit.prevent='submit' class="flex flex-col gap-2">
<x-forms.textarea rows="10" class="whitespace-pre-wrap" id="variables"></x-forms.textarea> <x-forms.textarea rows="10" class="whitespace-pre-wrap" id="variables"></x-forms.textarea>
@if ($showPreview) @if ($showPreview)