Update Selected

Resources

@foreach($selectedItems as $selectedItem) #{{$selectedItem}} @endforeach

{{-- --}} {{-- --}} {{-- @foreach ($countries as $countryss)--}} {{-- --}} {{-- @endforeach--}} {{-- --}} {{--
--}} {{-- --}}

Categories

@foreach($levels ?? [] as $level) @if ($level->level == 1)
@elseif(!empty($category_array[$level->level - 1]))
@else
@endif @endforeach
Comments

{{-- @if($input_field_modal)--}} {{-- @if (!empty($distribiution))--}} {{-- @foreach ($distribiution->group->fields as $fields)--}} {{-- @php--}} {{-- if ($fields->required) {--}} {{-- $ty = $fields->type == 'email' ? '|email' : '';--}} {{-- $ty = $fields->type == 'number' ? '|numeric' : '';--}} {{-- $this->input_field_modal_check['input.' . \Illuminate\Support\Str::slug($fields->label)] = 'required' . $ty;--}} {{-- }--}} {{-- @endphp--}} {{-- @if ($fields->type == 'select')--}} {{-- @php--}} {{-- $data_value = explode(',', $fields->value);--}} {{-- @endphp--}} {{--
--}} {{-- --}} {{-- --}} {{-- @error('input.' . \Illuminate\Support\Str::slug($fields->label))--}} {{-- This field can't be empty--}} {{-- @enderror--}} {{--
--}} {{-- @else--}} {{--
--}} {{-- --}} {{-- --}} {{-- @error('input.' . \Illuminate\Support\Str::slug($fields->label))--}} {{-- This field can't be empty--}} {{-- @enderror--}} {{--
--}} {{-- @endif--}} {{-- @endforeach--}} {{-- @endif--}} {{-- @else--}} {{--
--}} {{--

This will be enabled after choosing categories

--}} {{--
--}} {{-- @endif--}} {{--
--}} {{--
--}} {{--
--}}
{{-- --}}
@if($input_field_modal)
@endif