We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c4a9738 commit 5b17629Copy full SHA for 5b17629
packages/form-data/test/form-data.spec.js
@@ -244,8 +244,10 @@ export const test = (test) => {
244
const insideInput = document.createElement("input");
245
const outsideInput = document.createElement("input");
246
247
- // `form` on an input is "read-only"
248
- outsideInput.innerHTML = `<input type="text" name="form" value="outside" form="my-form">`;
+ outsideInput.type = "text";
+ outsideInput.name = "form";
249
+ outsideInput.value = "outside";
250
+ outsideInput.setAttribute("form", "my-form");
251
252
insideInput.type = "text";
253
insideInput.name = "form";
0 commit comments