You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: Set autocomplete="off" on input to remove SecurityError in Firefox (react-dropzone#476)
Firefox throws a SecurityError if user agent tries to set the input element's value programmatically. To prevent this, `autocomplete="off"` is added to the input attributes.
Fixesreact-dropzone#475
exports[`Dropzone basics should render children 1`] =`"<divclass=\\"\\"style=\\"width:200px;height:200px;border-width:2px;border-color:#666;border-style:dashed;border-radius:5px;\\"><p>somecontent</p><inputtype=\\"file\\"multiple=\\"\\"style=\\"display:none;\\"></div>"`;
3
+
exports[`Dropzone basics should render children 1`] =`"<divclass=\\"\\"style=\\"width:200px;height:200px;border-width:2px;border-color:#666;border-style:dashed;border-radius:5px;\\"><p>somecontent</p><inputtype=\\"file\\"multiple=\\"\\"autocomplete=\\"off\\"style=\\"display:none;\\"></div>"`;
0 commit comments