private static void ResetInputType(PropertyConfig field)
        {
            if (field.MulitLine || field.InputType == "editor")
            {
                field.FormCloumnSapn = field.Parent.FormCloumn;
            }
            else
            {
                field.FormCloumnSapn = 1;
            }
            if (field.MulitLine)
            {
                field.FormCloumnSapn = field.Parent.FormCloumn;
                field.InputType      = "easyui-textbox";
                field.FormOption     = null;
                field.ComboBoxUrl    = null;
                return;
            }
            if (field.IsBlob && field.CsType == "string")
            {
                field.MulitLine      = true;
                field.FormCloumnSapn = field.Parent.FormCloumn;
                field.InputType      = "editor";
                field.FormOption     = null;
                field.ComboBoxUrl    = null;
                return;
            }
            if (!string.IsNullOrWhiteSpace(field.CustomType))
            {
                field.NoneDetails = false;
                field.InputType   = "easyui-combobox";
                field.ComboBoxUrl = null;
                field.FormOption  = $"valueField:'value',textField:'text',data:{field.CustomType.ToLWord()}";
                return;
            }
            field.FormOption = null;
            if (field.IsLinkKey)
            {
                var entity = Find(p => p.SaveTable == field.LinkTable);
                if (entity != null)
                {
                    field.ComboBoxUrl = $"/Api/Index.aspx?action={entity.Name.ToLower()}";
                    field.FormOption  = "valueField:'id', textField:'text'";
                    var title = field.Parent.Properties.FirstOrDefault(p => p.LinkTable == field.LinkTable && p.IsLinkCaption);
                    if (title != null)
                    {
                        field.InputType      = "easyui-combobox";
                        field.NoneDetails    = false;
                        title.NoneDetails    = true;
                        title.FormCloumnSapn = 0;
                        title.InputType      = null;
                        title.NoneDetails    = true;
                        return;
                    }
                }
                field.InputType   = null;
                field.NoneDetails = true;
                return;
            }
            switch (field.CsType)
            {
            case "DateTime":
                field.InputType   = "easyui-datebox";
                field.FormOption  = null;
                field.ComboBoxUrl = null;
                break;

            case "bool":
                field.FormOption = "valueField:'value',textField:'text',data:yesnoType";
                field.InputType  = "easyui-combobox";
                break;

            default:
                field.InputType   = "easyui-textbox";
                field.FormOption  = null;
                field.ComboBoxUrl = null;
                break;
            }
        }