'select_default: for RADIO and multiple-selection SELECT controls, pick
the first item as the default if no \'selected\' HTML attribute is
present'

def __init__(self, type, name, attrs={}, select_default=False, called_as_base_class=False, index=None):

    if (not called_as_base_class):
        raise NotImplementedError()
    self.__dict__['type'] = type.lower()
    self.__dict__['name'] = name
    self._value = attrs.get('value')
    self.disabled = False
    self.readonly = False
    self.id = attrs.get('id')
    self._closed = False
    self.items = []
    self._form = None
    self._select_default = select_default
    self._clicked = False
