<input type="file" restarts ionic app after choosing file [ionic]

by Josh O'Connor   Last Updated August 13, 2019 20:26 PM - source

I have a file input:

<input #fileInput class="task-uploader__input" type="file" multiple />

I am able to bring up the file chooser (camera or gallery), and when I choose a photo, the app restarts. Im not sure if it is crashing, or if it is just restarting, but this is not the behavior I want in my application after choosing a photo.

It even crashes if I choose a very small photo, so I dont think its memory related. Why is this occurring?



Related Questions


How to write data into csv file from ionic form?

Updated August 12, 2017 09:26 AM


List of BLE devices being duplicated

Updated February 24, 2018 11:26 AM


How to use infinite scroll in my contact list

Updated August 02, 2019 07:26 AM