0

I can't use pipe inside reactive forms ng-select Thanks you very much!

<ng-select [items]="startDatetimeList"          
       [value]="items | date:'shortTime'"
       formControlName="estPickupStartTime">

Minh Tien Tran
  • 1,038
  • 9
  • 11
  • 1
    Inject DatePipe and use it from the code https://stackoverflow.com/questions/35144821/angular-use-pipes-in-services-and-components/35144872 – hamilton.lima Aug 27 '18 at 16:49
  • 1
    Possible duplicate of [Angular - Use pipes in services and components](https://stackoverflow.com/questions/35144821/angular-use-pipes-in-services-and-components) – JSTL Aug 27 '18 at 16:58

0 Answers0