Browse Source

set lookup property display name to the text field.

pull/6859/head
Ilkay Ilknur 6 years ago
parent
commit
55f8c1670c
  1. 3
      framework/src/Volo.Abp.ObjectExtending/Volo/Abp/ObjectExtending/Modularity/EntityExtensionConfiguration.cs

3
framework/src/Volo.Abp.ObjectExtending/Volo/Abp/ObjectExtending/Modularity/EntityExtensionConfiguration.cs

@ -67,7 +67,8 @@ namespace Volo.Abp.ObjectExtending.Modularity
lookupTextPropertyName, lookupTextPropertyName,
() => new ExtensionPropertyConfiguration(this, typeof(string), lookupTextPropertyName) () => new ExtensionPropertyConfiguration(this, typeof(string), lookupTextPropertyName)
); );
lookupTextPropertyInfo.DisplayName = propertyInfo.DisplayName ?? new FixedLocalizableString(propertyInfo.Name);
lookupTextPropertyInfo.DisplayName = propertyInfo.DisplayName;
} }
[NotNull] [NotNull]

Loading…
Cancel
Save