public function setDisabledDates($dates)
    {
        if (!is_array($dates)) {
            $dates = (array) $dates;
        }

        $this->option_disabled_dates = $dates;
        $this->set_options['disabled_dates'] = 'disabledDates';

        return $this;
    }