Activities of "mz_s73"

Hi Mali, thanks for the response. I have a few questions.

You mentioned over-riding the date component, would this be for when we edit the information and a modal comes up, because we have disabled editing for the grid.

All we need is that we can specify a custom date format for the date displayed in cell. We can achieve it by overriding the whole page and specifying the format in data-grid (will take a lot more effort) but just wanted to check with you if there is any other quick alternative

  • ABP Framework version: v8.0.2
  • UI Type: Blazor Server
  • Database System: EF Core (SQL Server)
  • Steps to reproduce the issue:

I have added an extra property on User entity to store last login datetime. Now on the manage users page how do I configure it to show custom date format like "dd/MM/yyyy HH:mm:ss".

As of now I did find some solution going through the docs & other peoples posts but its not working. Here's what I have done till now:

ObjectExtensionManager.Instance.Modules()
     .ConfigureIdentity(identity =>
     {
         identity.ConfigureUser(user =>
         {
             user.AddOrUpdateProperty<DateTime?>(
                 "LastLoginDateTime",                         
                 property =>
                 {
                     property.DisplayName = LocalizableString.Create<Paddy_Power_Self_ExclusionResource>(CustomIdentityUserPropertyNames.LastLoginDateTimeDisplayName);                             
                     property.UI.OnEditForm.IsVisible = false;
                     property.UI.OnCreateForm.IsVisible = false;
                     property.UI.OnTable.IsVisible = true;

                     property.Api.OnCreate.IsAvailable = false;
                     property.Api.OnUpdate.IsAvailable = false;


                     property.Attributes.Add(new DataTypeAttribute(DataType.DateTime));
                     var format = new DisplayFormatAttribute()
                     {                                 
                         DataFormatString = "dd/MM/yyyy HH:mm:ss",
                         NullDisplayText = ""
                     };
                     property.Attributes.Add(format);
                 }                         
             );
         });
     });
  • ABP Framework version: v7.3.1
  • UI Type:Blazor Server
  • Database System: EF Core (SQL Server)
  • Tiered (for MVC) or Auth Server Separated (for Angular): Yes

I have a form that takes some time to respond once its submitted. I need to block the UI so that the submit button is not clicked multiple times and a provide a spinner for a better user experience to indicate background process. How do I achieve this in my Blazor application ?

Hi Mali, is this included in any future roadmap ?

  • ABP Framework version: v7.3.1
  • UI Type: Blazor Server
  • Database System: EF Core (SQL Server)
  • Tiered (for MVC) or Auth Server Separated (for Angular): Yes

We have implemented an auto logout feature after a specific timeout period. Currently we don't want the user to be redirected to login page instead we want to show a Login Modal on that same page. What is the best way to achieve this using Blazor & components? Are there any samples/references?

Thanks for creating the issue. Would be waiting for it to be fixed and released soon.

Hi maliming,

Is there any way we can set it to DD/MM/YYYY without culture dependency

  • ABP Framework version: v7.3
  • UI Type: MVC
  • Database System: EF Core (PostgreSQL)
  • Tiered (for MVC): Yes
  • Exception message and full stack trace:
  • Steps to reproduce the issue:

I am using date range picker using abps tag helper. Currently it shows MM/DD/YYYY as date format. How do I set the display format to be DD/MM/YYYY - DD/MM/YYYY.

<abp-date-range-picker id="DateRangePicker" asp-for-start="@Model.StartDate.Date" asp-for-end="@Model.EndDate.Date" max-date="@Model.MaxDate" readonly=true label="Date Range" open-button=false data-date-limit='{"days": "6"}' data-show-today-button="false" data-show-clear-button="false" />

Hi Anjali, Thanks for the response. I checked and was not able to see it below user profile. Just FYI, we are using Lepton-x theme.

When we impersonate a tenant and after login if we want to go back to admin account there is a "Back to my account" button on toolbar. But it is not visible in mobile view. I have attached two images

  • One with the desktop view highlighting the back button in red box
  • Another with mobile view where back button is missing in navbar or I am not sure where it needs to be present

  • ABP Framework version: v7.3.2
  • UI Type: MVC
  • Database System: EF Core (PostgreSQL)
  • Tiered (for MVC) or Auth Server Separated (for Angular): Yes
Showing 1 to 10 of 10 entries
Made with ❤️ on ABP v9.1.0-preview. Updated on December 10, 2024, 06:38