Topic: Datepicker init Date without Time

infothemisoft-com premium asked 2 years ago


Hello, i use the Datepicker Control. I init it with an DateTime Variable using MVC. The Problem is, with the first init they show me also a Time. After i select a Date its fine and its only the Date format (as i set it in the Format Property). Maybe you can Help me, what i need to to, that the Time is not showing from beginning.

<div class="form-outline datepicker-translated-vertragsbeginn" data-mdb-format="dd.mm.yyyy">
                                        @Html.TextBoxFor(m => m.DTO.v_beginn, new { @class = "form-control", @id = "VertragsbeginnDatePicker", @placeholder = "dd.mm.yyyy" })
                                        <label for="VertragsbeginnDatePicker" class="form-label">@Model.Konfig.Uebersetze("Vertragsbeginn", Session["language"])</label>
                                    </div>

see the first is after select another date, the second is after init


Mateusz Lazaru staff answered 2 years ago


Hi,

Unfortunately we do not guarantee that our package will work in a third party environment and we do not support such use.



Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Answered

Specification of the issue

  • ForumUser: Premium
  • Premium support: Yes
  • Technology: MDB Standard
  • MDB Version: MDB5 4.4.0
  • Device: PC
  • Browser: Chrome
  • OS: Windows
  • Provided sample code: No
  • Provided link: No