responsive controlled
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user