|
|
@ -20,13 +20,14 @@ |
|
|
<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 || !propertyInfo.LookupConfiguration.ApiUrl.IsNullOrEmpty()) |
|
|
if (propertyInfo.Type.IsEnum || !propertyInfo.Lookup.Url.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)" |
|
|
autocomplete-api-url="@propertyInfo.LookupConfiguration.ApiUrl" |
|
|
autocomplete-api-url="@propertyInfo.Lookup.Url" |
|
|
autocomplete-display-property-name="@propertyInfo.LookupConfiguration.DisplayPropertyName" |
|
|
autocomplete-items-property-name="@propertyInfo.Lookup.ResultListPropertyName" |
|
|
autocomplete-value-property-name="@propertyInfo.LookupConfiguration.ValuePropertyName"></abp-select> |
|
|
autocomplete-display-property-name="@propertyInfo.Lookup.DisplayPropertyName" |
|
|
|
|
|
autocomplete-value-property-name="@propertyInfo.Lookup.ValuePropertyName"></abp-select> |
|
|
} |
|
|
} |
|
|
else |
|
|
else |
|
|
{ |
|
|
{ |
|
|
|