extract method. for widgets\ActiveField::getOptions()