public function setSelectOptions($attr, $options = null)
    {
        $optionsList = is_array($attr)
            ? $attr
            : [$attr => $options];

        foreach ($optionsList as $key => $value)
            $this->selectOptions[$key] = $value;

        return $this;
    }