Activities of "smutairi"

  • ABP Framework version: v4.3.0 RC1
  • UI type: Blazor
  • DB provider: EF Core

I am trying to localize Validation Messages for POCO (DTO) classes on Blazor.

I have my own Resource added and is working fine on notifications and other strings. but I want to localize the <ValidationError> tags on Razor pages

Example DTO


public class StockTypeCreateDto
    {
     ----ADD IT HERE---
        [Required]
        [StringLength(StockTypeConsts.NameMaxLength)]
        public string Name { get; set; }
        [Required]
        public bool IsStatic { get; set; }
    }
}

Example Razor

                <Validation>
                        <Field>
                            <FieldLabel>@L["Label:Name"] *</FieldLabel>
                            <TextEdit Autofocus="true" @bind-Text="@NewStockType.Name" MaxLength="StockTypeConsts.NameMaxLength">
                                <Feedback>
                                ----ADD IT HERE---
                                    <ValidationError>@L[MyProjectErrorCodes.RequiredField, L["Label:Name"]]</ValidationError>
                                </Feedback>
                            </TextEdit>
                        </Field>
                    </Validation>

hi

Its on the backlog

You can check this issue for now: https://github.com/abpframework/abp/issues/3807#issuecomment-627694184

can this be on the next milestone?

is this planned ?

I see what you mean, so the suggested way is to have search functionality in each custom module. and in the Demo Application I create a UI to handle all the search from different modules in one location.

sounds good thanks.

Here is the scenario:

I am developing separate parts of an application each with its own module solution that has everything including the UI.

but I ran into an issue, how do I create a Global Search UI in a demo solution that uses these modules?

Example:

  • I have 3 custom module solutions (Products, Stocks, Cars)
  • I have 1 Demo Application solution that adds these a Nuget Packages and I can see them in the Menu of the demo solution.

I need to have a search box with a drop-down list (Products, Stocks, Cars) that does search and return results on the demo solution.

how do I architect the projects to accomplish this scenario?

https://github.com/abpframework/abp/issues/4154

  • ABP Framework version: v4.2.2
  • UI type: Angular / Blazor
  • DB provider: EF Core /
  • Tiered (MVC) or Identity Server Separated (Angular): yes

I have found multiple anserts to adding a navigation property to a custom entity howerever there are no straightforward steps.

I have a module solution and I need to add a navigation property to my custom entity to the IdentityUser

please provide steps by step and hopefully add it to the official documentation for v4.2.2

the documentation should have a dedicated page for this subject "Integrating base user Identity with your entities"

Suggested topics in this page

  • 1-Many
  • Many-Many
  • extending IdentityModel
  • showing username in extended custom entity page
  • showing list of linked entities in user details page

thanks

Showing 11 to 17 of 17 entries
Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.1.0-preview. Updated on October 30, 2025, 06:33