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
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);
}
);
});
});
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 ?
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
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" />
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