Skip to content
This repository was archived by the owner on Oct 20, 2025. It is now read-only.

Commit cc3044f

Browse files
committed
Update form.blade.php
1 parent da21409 commit cc3044f

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

resources/views/form.blade.php

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
11
@php $data = $formData() @endphp
22

3-
<SpladeForm {!! $attributes !!}
3+
<SpladeForm {!! $attributes->except('class') !!}
44
@if($data['data']) :default="@js($data['data'])" @else :default="{!! $data['json'] !!}" @endif
55
>
66
<template #default="{!! $scope !!}">
77
<form v-bind="form.$attrs" @submit.prevent="form.submit">
8-
{{ $slot }}
8+
<fieldset v-bind:disabled="form.processing" {!! $attributes->only('class') !!}>
9+
{{ $slot }}
10+
</fieldset>
911
</form>
1012
</template>
1113
</SpladeForm>

0 commit comments

Comments
 (0)