Open Closed

Abp-Input DateTimePicker Support ? #1385


User avatar
0
selinkoykiran created
  • ABP Framework version: v4.3.0
  • UI type:MVC
  • DB provider: EF Core
  • **Tiered (MVC): yes
  • Exception message and stack trace:
  • Steps to reproduce the issue:

Hello, I want to implement datetimepicker in razor page. I use in cshtml like below with type: date

<abp-column size="_3"> <abp-input asp-for="CreationTimeFilterMin" label="@L["MinCreationTime"].Value" type="date" /> </abp-column>

and jquery like below :

 creationTimeMin: $("#CreationTimeFilterMin").data().datepicker.getFormattedDate('yyyy-mm-dd'),

But I want to use bootstrap's type="datetime-local" , because I also want to have selectable time range besides date.

I couldn't handle this issue ? Dou you have any offer or example with datetimepicker ?

Thank you.


2 Answer(s)
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    Abp will automatically change input[type=date] as datepicker, You can add abp-data-datepicker="false" to the element to disable this behavior. Then you can control it.

  • User Avatar
    0
    ServiceBot created
    Support Team Automatic process manager

    This question has been automatically marked as stale because it has not had recent activity.

Made with ❤️ on ABP v9.1.0-preview. Updated on November 11, 2024, 11:11