Skip to content

TypeData.Display is not loaded for non-ITapPlugin types

The following ComponentSettingsList has ContainedTypes that are not ITapPlugins, so the Display property is not set in TypeData, which means the display attribute is not used in the Editor. We should modify the getter of TypeData.Display to check attributes for DisplayAttribute in case the value is null beforehand.

    [SettingsGroup("MyPrecious", Profile: true)]
    [Display("WONE", Description: "Insert description here")]
    public class One : ComponentSettingsList<One, Mipi>
    {
        public string Haha { get; set; }
    }

    public interface Mipi
    {

    }

    [Display("MipiWONE", Group: "Testy", Description: "Insert description here")]
    public class MipiCommandsOne: Mipi
    {
        public string Wat { get; set; }
    }



    [Display("MipiTWO", Group: "Testy", Description: "Insert description here")]
    public class MipiCommandsTWO : Mipi
    {
        public string Watty { get; set; }
    }
Edited by Ghost User