Opened 11 years ago
Closed 7 years ago
#12958 closed defect (patchwelcome)
dojox.form.FileInput + dojo.io.iframe.send does not work with Google Chrome
Reported by: | Matias Rask | Owned by: | dante |
---|---|---|---|
Priority: | blocker | Milestone: | 1.13 |
Component: | DojoX Form | Version: | 1.6.1 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
dojox.form.FileInput? within a form using Google Chrome (v. 11.0.696.68) does not work. It results in _base/Deferred.js:213 TypeError?: Cannot read property 'value' of undefined
With Firefox 4 it works as expected.
<input type="file" id="fooID" name="fooName" label="Browse" regExp=".*.csv" dojoType="dojox.form.FileInput" required="true" />
Any ideas why this might happen?
ps. The fake input gets C:\fakepath\[file] as value in Chrome whereas in Firefox it gets the [file] as value.
<input class="dijitFileInputVisible" type="text" dojoattachpoint="focusNode, inputNode" id="fooID" tabindex="0" aria-disabled="false">
Change History (3)
comment:1 Changed 11 years ago by
comment:3 Changed 7 years ago by
Milestone: | tbd → 1.12 |
---|---|
Resolution: | → patchwelcome |
Status: | new → closed |
Unfortunately still an issue. Given the lack of interest over the past 7 years, I'm closing it as patchwelcome. If there's interest in revisiting this please re-open with a pull request per our contribution guidelines ( https://github.com/dojo/dojo/blob/master/CONTRIBUTING.md ).
Correction to above:
This happened in Chrome when I disabled all the form dijit elements using the following code outside the xhr call:
by adding the disable function to happen after the xhr request returns then there's no such problem.