Home  >  Q&A  >  body text

html5 - input type:flie的multiple属性在安卓上不能多选?

RT

 <input name="file" type="file" multiple />

这个标签,在PC可以进行多选,在ios可以进行多选。但是在安卓上调出相册,却只能选一张,有什么好办法可进行多选呢?

迷茫迷茫2741 days ago854

reply all(1)I'll reply

  • 迷茫

    迷茫2017-04-17 13:10:20

    This is related to the device.
    Some Android models are available (it seems so, I can’t remember clearly).
    There is no way to break through this limitation. If it is a simple web page, the device browser has the final say.
    If you use something like PhoneGap (Cordova) or other hybrid methods, you can still make the decision yourself!

    reply
    0
  • Cancelreply