lookup_type ? app('Webkul\Attribute\Repositories\AttributeRepository')->getLookUpOptions($attribute->lookup_type) : $attribute->options()->orderBy('sort_order')->get(); $selectedOption = old($attribute->code, $value); $selectedOption = is_array($selectedOption) ? $selectedOption : explode(',', $selectedOption); ?> addLoop($__currentLoopData); foreach($__currentLoopData as $option): $__env->incrementLoopIndices(); $loop = $__env->getLastLoop(); ?> 'admin::components.form.control-group.index','data' => ['class' => '!mb-2 flex items-center gap-2.5']] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> withName('admin::form.control-group'); ?> shouldRender()): ?> startComponent($component->resolveView(), $component->data()); ?> getConstructor()): ?> except(collect($constructor->getParameters())->map->getName()->all()); ?> withAttributes(['class' => '!mb-2 flex items-center gap-2.5']); ?> 'admin::components.form.control-group.control','data' => ['type' => 'checkbox','id' => $option->id,'name' => ''.e($attribute->code).'[]','value' => $option->id,'for' => $option->id,'label' => $option->name,'checked' => in_array($option->id, $selectedOption)]] + (isset($attributes) && $attributes instanceof Illuminate\View\ComponentAttributeBag ? (array) $attributes->getIterator() : [])); ?> withName('admin::form.control-group.control'); ?> shouldRender()): ?> startComponent($component->resolveView(), $component->data()); ?> getConstructor()): ?> except(collect($constructor->getParameters())->map->getName()->all()); ?> withAttributes(['type' => 'checkbox','id' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($option->id),'name' => ''.e($attribute->code).'[]','value' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($option->id),'for' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($option->id),'label' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute($option->name),'checked' => \Illuminate\View\Compilers\BladeCompiler::sanitizeComponentAttribute(in_array($option->id, $selectedOption))]); ?> renderComponent(); ?> renderComponent(); ?> popLoop(); $loop = $__env->getLastLoop(); ?>