Set value for <input> / <select> tags based on MDT.

        Args:
            mdt (str): MDT of the conspect / subconspect.

def set(cls, mdt):
        """
        Set value for <input> / <select> tags based on MDT.

        Args:
            mdt (str): MDT of the conspect / subconspect.
        """
        if type(mdt) in [list, tuple]:
            mdt = mdt[0]

        if isinstance(mdt, dict):
            mdt = mdt["val"]

        if not mdt:
            cls.conspect_el.value = ""
            cls.subconspect_el.html = ""
            cls.input_el.value = ""
            return

        # set twoconspect
        data = conspectus.subs_by_mdt.get(mdt)

        if data:
            cls.conspect_el.value = data["conspect_id"]

            cls._draw_subconspects(data["conspect_id"])
            cls.subconspect_el.value = mdt

            # set input
            cls.input_el.value = data["name"]
        else:
            cls.input_el.value = mdt + " not found"