Open Closed

<abp-input> seems not work for customize-the-login-page #3377


User avatar
0
abpVAndy created
  • ABP Framework version: v5.3.1
  • UI type: Angular
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): no
  • Exception message and stack trace:
  • Steps to reproduce the issue:"

Hi,

Before v4+ works for this way to change login page. Right now, I still use this method to change the login page. It seems <abp-input> do not show out when customizing login page.

Follow: https://community.abp.io/posts/how-to-customize-the-login-page-for-mvc-razor-page-applications-9a40f3cd https://docs.abp.io/en/abp/latest/UI/AspNetCore/Customization-User-Interface


6 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    What's the HTML response of this page?

  • User Avatar
    0
    abpVAndy created

    Hi,

    Is it OK? Let me know if you need more? thx

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    Check the _ViewImports.cshtml file.

    @addTagHelper *, Microsoft.AspNetCore.Mvc.TagHelpers
    @addTagHelper *, Volo.Abp.AspNetCore.Mvc.UI
    @addTagHelper *, Volo.Abp.AspNetCore.Mvc.UI.Bootstrap
    @addTagHelper *, Volo.Abp.AspNetCore.Mvc.UI.Bundling
    
  • User Avatar
    0
    abpVAndy created

    Hi,

    All the _ViewImports.cshtml file in Volo.LeptonTheme do not have: @addTagHelper *, Volo.Abp.AspNetCore.Mvc.UI

    But after I add it(@addTagHelper *, Volo.Abp.AspNetCore.Mvc.UI) into _ViewImports.cshtml file, it still does not work.

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    Can you add the addTagHelper code to the project that contains this code? If still does not work. Please share a minimum project. liming.ma@volosoft.com

  • User Avatar
    0
    abpVAndy created

    Hi,

    Yes, it works now. So, we have to add new files: _ViewImports.cshtml like below.

    Thanks,

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