responsive controlled

This commit is contained in:
Burak Civan
2022-11-07 17:36:32 +03:00
parent b6295dfaf5
commit 624deafb0b
8 changed files with 42 additions and 10 deletions

View File

@ -1,7 +1,7 @@
@stack($name . '_input_start')
<div
@class([
'grid sm:grid-cols-6 gap-8',
'grid sm:grid-cols-6 lg:gap-8',
$formGroupClass,
'required' => $required,
'readonly' => $readonly,
@ -25,6 +25,8 @@
'disabled' => $disabled,
])
ref="{{ $name }}"
id="form-invoice-{{ $name }}"
@if (isset($attributes['v-show']))
@ -168,7 +170,8 @@
@foreach ($options as $option)
@if ($option->id == 'custom')
<div class="col-span-6 my-5" v-if="form.{{ $name }} == 'custom'">
<div class="col-span-3" v-if="{{ $attributes['input-name'] }}">
<div class="h-6"></div>
<x-form.group.text name="{{ $attributes['input-name'] }}" value="{{ $attributes['input-value'] }}" />
</div>
@endif