Ends in:
0 DAY
16 HRS
52 MIN
45 SEC
Ends in:
0 D
16 H
52 M
45 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 December 05, 2024, 12:19