Abp Commercial 5.2.0 / Blazor Server / EF Core / Non-tiered
Hi,
We have extended the IdentityUser entity with a new property but need to have the property only visible on the user listing (needs to be hidden on the create and edit modal). To accomplish this, we implemented the following in our ProjectNameModuleExtensionConfigurator class:
user.AddOrUpdateProperty<string>(
EmployeeConsts.FullName
, property =>
{
property.DisplayName = LocalizableString.Create<TimepieceResource>(
"DisplayName:FullName");
property.DefaultValue = null;
property.UI.OnCreateForm.IsVisible = false;
property.UI.OnEditForm.IsVisible = false;
property.UI.OnTable.IsVisible = true;
}
);
The extended property, however, is still visible on the create and edit modals.
Are we doing something wrong, or is this a bug?
Thanks in advance.
3 Answer(s)
-
0
Hi @balessi75, it seems there is not any check on UI for Create and Edit forms. I've created an issue for this. Thanks for reporting.
Thanks @EngincanV!
While working on this, would you also be able to add the following two properties as a new feature? We actually have a business need for them...
property.UI.OnCreateForm.IsReadOnly; property.UI.OnEditForm.IsReadOnly;
-
0