code: def _pick_selected_option(cls):
          
          for option in cls.select_el:
              # if the select is empty
              if not hasattr(option, "selected"):
                  return None
  
              if option.selected:
                  return option.value
  
          return None
docs: Select handler for authors.