public function makeCheckbox($config, $selected, $custom)
    {
        if (str_contains($config['class'], 'form-control')) {
            if (str_contains($config['class'], 'form-check-inline')) {
                $config['class'] = str_replace('form-control', '', $config['class']);
            } else {
                $config['class'] = str_replace('form-control', 'form-check-input', $config['class']);
            }
        }

        return '<input '.$this->processCustom($custom).' id="'.$this->getId($config).'" '.$selected.' type="checkbox" name="'.$config['name'].'" class="'. $config['class'] .'">';
    }