Quantcast
Channel: Ionic Forum - Latest topics
Viewing all articles
Browse latest Browse all 70434

How to use an ion-input type=file?

$
0
0

@JEricaM wrote:

I’m using a ionic-starter-pwa and I would like to let the user upload some images.

I’m a little bit confused about the doc


this page says If the value of the type attribute is "file" , so file should be a value of the type attribute but is not.

The type attribute don’t accept file value infact it’s not mentioned inside the doc and If I try to use *type=file *inside an ion-input, typescript gives me this error Type ‘“file”’ is not assignable to type ‘TextFieldTypes’.

So my question is: there is a documentation problem or I’m missing something important?

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 70434

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>