Set input accept attribute based on fileType

It would be nice to have the accept type for browsers that support it. Thank you!