This code is not working..
<ion-item> <ion-label stacked>Name</ion-label> <ion-input ngControl="name" type="text" placeholder="Enter Category Name"></ion-input> </ion-item> <ion-item> <ion-label stacked>Image</ion-label> <ion-input ngControl="image" type="file" placeholder="Select Category Image"></ion-input> </ion-item> Is there any way to upload image file using Ion-input and get uploaded file in type script using formBuilder.?
formBuilder.group({ name: ['', Validators.required], image: ['', Validators.required] })