Topic: MDB3 Pro - file input - not show open dialog (WIN8/IE11)

thomas.lembcke pro asked 7 years ago


Hallo, we found that the component file input will not show the open dialog in Internet Explorer 11/WIN8 (same with Firefox 44.0.2). It also don't work at your homepage http://mdbootstrap.com/mdb3/components/forms/. Best regards

Hi, It seems that firefox doesn't play well with the file input inside the button so you need to change button to div. Try this code:
<form action="#">
	<div class="file-field input-field">
		<div class="btn btn-default waves-effect waves-light">
			<span>File</span>
			<input type="file" />
		</div>  
	</div>
</form>


Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Specification of the issue

  • ForumUser: Pro
  • Premium support: No
  • Technology: General Bootstrap questions
  • MDB Version: -
  • Device: -
  • Browser: -
  • OS: -
  • Provided sample code: No
  • Provided link: No
Tags