console error fixed

This commit is contained in:
Burak Civan
2022-07-26 13:57:04 +03:00
parent 2a96be1094
commit 279ec491e8
2 changed files with 27 additions and 24 deletions

View File

@ -168,8 +168,8 @@
@foreach ($options as $option)
@if ($option->id == 'custom')
<div class="col-span-3 mt-5">
<x-form.group.text name="{{ $attributes['input-name'] }}" value="{{ $attributes['input-value'] }}" v-show="{{ $attributes['input-name'] }}" />
<div class="col-span-6 my-5" v-if="form.{{ $name }} == 'custom'">
<x-form.group.text name="{{ $attributes['input-name'] }}" value="{{ $attributes['input-value'] }}" />
</div>
@endif
@endforeach