0
trina.thompson created
- ABP Framework version: v7.2.1
- UI type: MVC
- DB provider: EF Core
- Tiered (MVC) or Identity Server Separated (Angular): no
- Exception message and stack trace:
- Steps to reproduce the issue:"
The abp-date-picker does not appear to be respecting the minDate option. According to the documentation, https://docs.abp.io/en/abp/7.2/UI/AspNetCore/Tag-Helpers/Form-elements#tag-attributes-3, the below should work but nothing happens.
<abp-date-picker asp-for="CreateTransaction.SendDate" data-minDate="05/23/2023" date-format="MM/DD/YYYY" />
4 Answer(s)
-
0
<abp-date-picker asp-for="CreateTransaction.SendDate" min-date="new DateTime()" date-format="MM/DD/YYYY" />
use it like this
-
0
Thank you, that worked for me. Is there something extra that I need to do to get the current value to show when the page initially shows? It always just shows as blank.
-
0
<abp-date-picker asp-for="CreateTransaction.SendDate" min-date="new DateTime()" date-format="MM/DD/YYYY" auto-update-input="true" />
-
0
Perfect! Thanks again for your help!