Starts in:
1 DAY
20 HRS
26 MIN
44 SEC
Starts in:
1 D
20 H
26 M
44 S
Open Closed

Setting Extended Property as ReadOnly on the UI #2908


User avatar
0
balessi75 created

Abp Commercial 5.2.0 / Blazor Server / EF Core

Hi,

We created an extended property on the IdentityUser entity and have overriden the UserManagment.razor page. We see the the expended property is rendered with the following...

<ExtensionProperties TEntityType="IdentityUserCreateDto" TResourceType="IdentityResource" Entity="@NewEntity" LH="@LH" />

How can one make the extended property read only? Is there a configuration somewhere? Or is there a way to manually create the input without using the <ExtensionProperties> component?

Thanks in advance, -Brian


3 Answer(s)
  • User Avatar
    0
    EngincanV created
    Support Team .NET Developer

    Hi, as I know there is not any way to do that unless overriding the related page and applying the logic.

    Or is there a way to manually create the input without using the <ExtensionProperties> component?

    We use this component in modules to show extended properties on UI and it basically creates HTML tags for the extended properties by their type.

    You can check the ExtensionProperties component component and create a new component for you to show extended properties on UI by your needs.

    BTW, I've created an issue (#12249) for your suggestion and we'll consider it.

  • User Avatar
    0
    balessi75 created

    Hi, as I know there is not any way to do that unless overriding the related page and applying the logic.

    Or is there a way to manually create the input without using the <ExtensionProperties> component?

    We use this component in modules to show extended properties on UI and it basically creates HTML tags for the extended properties by their type.

    You can check the ExtensionProperties component component and create a new component for you to show extended properties on UI by your needs.

    BTW, I've created an issue (#12249) for your suggestion and we'll consider it.

    Excellent, thanks for the support @EngincanV

  • User Avatar
    0
    EngincanV created
    Support Team .NET Developer

    Excellent, thanks for the support @EngincanV

    You're welcome :)

Made with ❤️ on ABP v9.1.0-preview. Updated on November 20, 2024, 13:06