|
|
@ -20,12 +20,7 @@ |
|
|
<abp-input asp-for="Tenant.Name" label="@L["TenantName"].Value" /> |
|
|
<abp-input asp-for="Tenant.Name" label="@L["TenantName"].Value" /> |
|
|
@foreach (var propertyInfo in ObjectExtensionManager.Instance.GetProperties<EditModalModel.TenantInfoModel>()) |
|
|
@foreach (var propertyInfo in ObjectExtensionManager.Instance.GetProperties<EditModalModel.TenantInfoModel>()) |
|
|
{ |
|
|
{ |
|
|
if (propertyInfo.Type.IsEnum) |
|
|
if (propertyInfo.Type.IsEnum || !propertyInfo.LookupConfiguration.ApiUrl.IsNullOrEmpty()) |
|
|
{ |
|
|
|
|
|
<abp-select asp-for="Tenant.ExtraProperties[propertyInfo.Name]" |
|
|
|
|
|
label="@propertyInfo.GetLocalizedDisplayName(StringLocalizerFactory)"></abp-select> |
|
|
|
|
|
} |
|
|
|
|
|
else if (!propertyInfo.LookupConfiguration.ApiUrl.IsNullOrEmpty()) |
|
|
|
|
|
{ |
|
|
{ |
|
|
<abp-select asp-for="Tenant.ExtraProperties[propertyInfo.Name]" |
|
|
<abp-select asp-for="Tenant.ExtraProperties[propertyInfo.Name]" |
|
|
label="@propertyInfo.GetLocalizedDisplayName(StringLocalizerFactory)" |
|
|
label="@propertyInfo.GetLocalizedDisplayName(StringLocalizerFactory)" |
|
|
|