Base solution for your next web application
Open Closed

Property '_d' does not exist on type 'Moment' #7042


0
Rechnerinfo created

Hi Team, I am getting an error in AOT build with bsDatepicker control , when i am creating a form in route component. Property '_d' does not exist on type 'Moment'


1 Answer(s)
  • 0
    aaron created
    Support Team

    Not related to ASP<span></span>.NET Zero.

    From valor-software/ngx-bootstrap#4826:

    Most proper way is to convert momentjs object toDate and set it as a value, moment date wrapper always have it ._d field so it will work faster than formatting to string.