code: def _set_input(el, value):
          
          if isinstance(value, dict):
              el.value = value["val"]
          elif type(value) in [list, tuple]:
              el.value = ", ".join(item["val"] for item in value)
          else:
              el.value = value
docs: Set content of given `el` to `value`.
  
          Args:
              el (obj): El reference to input you wish to set.
              value (obj/list): Value to which the `el` will be set.