Input type=file not working in extension options

Slimjet bug reports
Post Reply
hari_seldon
Posts: 1
Joined: Wed Aug 24, 2016 6:20 am

Input type=file not working in extension options

Post by hari_seldon »

Slimjet version: 11.0.5.0
Operating system: Windows 10 Version 1607

Steps to reproduce:
1. Create an extension with the following contents:
manifest.json:

Code: Select all

{
  "manifest_version": 2,
  "name": "Slimjet-Debug-File-Input",
  "description": "Lorem ipsum",
  "version": "0.0.1",
  "options_ui": {
    "page": "options.html",
    "chrome_style": true
  }
}
options.html:

Code: Select all

<!DOCTYPE html>
<html>
<head>
<title>Test</title>
</head>
<body><input type="file"></body>
</html>
2. Load it as an unpacked extension in developer mode.
3. Go to the extension's option page and load a file via the file picker OR abort the file dialog.

Expected behavior:
The selected file's name is shown next to the button.

Observed behavior:
The selected file's name is not shown. The file picker button becomes unresponsive.

Post Reply