ok

Mini Shell

Direktori : /home2/selectio/www/fms-worksuite/app/View/Components/
Upload File :
Current File : //home2/selectio/www/fms-worksuite/app/View/Components/ClientSelectionDropdown.php

<?php

namespace App\View\Components;

use Illuminate\View\Component;

class ClientSelectionDropdown extends Component
{

    public $clients;
    public $selected;
    public $fieldRequired;
    
    /**
     * Create a new component instance.
     *
     * @return void
     */
    public function __construct($clients, $selected = null, $fieldRequired = true)
    {
        $this->clients = $clients;
        $this->selected = $selected;
        $this->fieldRequired = $fieldRequired;
    }

    /**
     * Get the view / contents that represent the component.
     *
     * @return \Illuminate\Contracts\View\View|\Closure|string
     */
    public function render()
    {
        return view('components.client-selection-dropdown');
    }

}

Zerion Mini Shell 1.0