I am using Authority delegation feature and it is working fine, my client suggested to have it datetime based range, so i was researching the docs i found a tutorial https://abp.io/community/articles/authority-delegation-in-abp-commercial-3wtljpp0#gsc.tab=0 that shows it as datetime by default, while in my solution it is date only. Any idea if datetime is still supported?
- Exception message and full stack trace: No Exception
- Steps to reproduce the issue:
8 Answer(s)
-
0
The Authority Delegation feature in ABP Commercial, as described in the official tutorial you referenced, supports specifying a time range for delegations using both date and time (datetime). The UI in the documentation shows that you can select both the date and the time for the delegation period.
If your current solution only allows selecting the date (without time), this is likely due to a limitation or configuration in your UI layer, not the ABP backend or the Authority Delegation module itself. The backend supports datetime ranges for delegations.
To enable datetime selection in your Angular UI:
- Ensure you are using the latest version of the LeptonX theme and ABP modules, as older versions may have only supported date selection.
- Check your date picker component configuration in the Angular project. It should be set to allow both date and time selection.
- If you are using a custom form or have overridden the default component, update it to use a datetime picker.
Datetime-based delegation is supported by the ABP Authority Delegation feature, and you can enable it in your UI by updating your date picker configuration.
Sources:
- https://abp.io/community/articles/authority-delegation-in-abp-commercial-3wtljpp0#gsc.tab=0
This response was generated by AI. If it didn’t solve your problem, feel free to post a new answer — our support team will jump in to help you soon.
-
0
How to update the date picker it is a closed module
-
0
-
0
I want datetime, it is by default dateOnly, and it is a closed module that I cant change in. can you give me a way please?
-
0
-
0
ok, I see, we will fix it in next patch version.
Thanks.
-
0
So it is a known issue for version 9? my angular is using 9.0.0 when my backend is 9.3.2
-
0
Yes. We will fix it in 9.3.5 Thanks.