Activities of "rafael.gonzales"

Typeahead not rendering in the correct position when It's within a long modal content

Add comments or explanations to the implemented fix Example https://commercial.abp.io/releases/pr/16778

It would be nice to have a couple of lines of description on what was done for each commit https://commercial.abp.io/releases/tag/8.1.0-rc.2

Agree with that. I also want a better description even if It takes more time to release new versions but It would be great to get to know what are we facing in every update. Until now, I only see those kinds of descriptions and the title doesn't help too much either.

Configuring the suite's project name independently from the project name would be awesome. So we can have a demo project with a solution and project name exactly like our main project but without the issue to figure out in Suites which one we are creating our entities.

Why do Create and Edit Pages in MVC inherit from ModulePageModel but Index Page inherit from AbpPageModel?

ModulePageModel already inherits from AbpPageModule but helps as a base class in a module to customize.

In Summary,

Suppose you create a module named MyModule. The entities generated there will have Create, Edit, and Index pages.

Create and Edit -> Inherit from MyModulePageModel Index -> Inherit from AbpPageModule.

Expected behavior,

Credit, Edit and Index should inherit from MyModulePageModel

The same issue happened with the AppService project. If you are in a Module, all the AppService generated are still using ApplicationAppService instead of MyModuleAppService

Why do Create and Edit Pages in MVC inherit from ModulePageModel but Index Page inherit from AbpPageModel?

ModulePageModel already inherits from AbpPageModule but helps as a base class in a module to customize.

In Summary,

Suppose you create a module named MyModule. The entities generated there will have Create, Edit, and Index pages.

Create and Edit -> Inherit from MyModulePageModel Index -> Inherit from AbpPageModule.

Expected behavior,

Credit, Edit and Index should inherit from MyModulePageModel

It still happens to me even in my other projects not named "Demo". I have to fill the first page then add whatever column and save to avoid any loosing data.

Hi,

Can we add some formatting to the %%excel-method-interface%% and %%bulk-delete-methods-interface%% by default? It would be better to be in a new line by default

ABP Modules in the navigation property are not displayed when you already have an entity created. Also, please check that it is duplicated when it's shown in the first entity.

What is the sense of keeping these two fields in "decimal" type if they are not getting added in the "CreateDto" and "UpdateDto"

For decimals, there should be a validation, if the values inserted there (min and max) are integers, then we should be able to get those values added in "CreateDto" and "UpdateDto" like the following code

        [Required]
        [Range(DemoConsts.Price MinLength, DemoConsts.Price MaxLength)]
        public decimal Price { get; set; }

In the "DemoConsts.cs" file the "Min" and "Max" const should be declared as integers too

        public const int PriceMinLength = -180;
        public const int PriceMaxLength = 180;

If you add a "boolean" value in the ABP Suite column definition, their filter selection is not localized.

The generated code in Index.cshtml.cs, adds the following code.

        [SelectItems(nameof(IsUsedBoolFilterItems))]
        public string IsUsedFilter { get; set; }

        public List<SelectListItem> IsUsedBoolFilterItems { get; set; } =
            new List<SelectListItem>
            {
                new SelectListItem("", ""),
                new SelectListItem("Yes", "true"),
                new SelectListItem("No", "false"),
            };

First, the string generated should be nullable like the following public string? IsUsedFilter { get; set; }

To avoid this warning in the constructor

The filter items are not localized and the keys "Yes" and "No" are hardcoded in any language. To solve this, I propose to add this method in AbpModel

        protected List<SelectListItem> SetFilterItems()
        {
            return new List<SelectListItem>
            {
                new SelectListItem("", ""),
                new SelectListItem(_localizer["Yes"], "true"),
                new SelectListItem(_localizer["No"], "false")
            };
        }

In ABP Suite, It should generate the Filter Items using a backend field like the following.

        [SelectItems(nameof(IsUsedBoolFilterItems))]
        public string? IsUsedFilter { get; set; }

        private List<SelectListItem>? _IsUsedBoolFilterItems;
        public List<SelectListItem> IsUsedBoolFilterItems
        {
            get { return (_IsUsedBoolFilterItems == null) ? SetFilterItems() : _IsUsedBoolFilterItems; }
            set { _IsUsedBoolFilterItems = value; }
        }

But this needs to add a localizer in the constructor of Index.cshtml and also Index.Extended.cshtml.cs (if they use custom code) to pass to AbpModel to add that method I propose.

public IndexModelBase(IStringLocalizer<DemoResource> localizer, IDemosAppService demosAppService) : base(localizer)
{
    _demosAppService = demosAppService;
}
Showing 61 to 70 of 153 entries
Learn More, Pay Less
33% OFF
All Trainings!
Get Your Deal
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.0.0-preview. Updated on September 16, 2025, 10:35