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 947e3b3 commit 2204df9Copy full SHA for 2204df9
src/index.js
@@ -152,7 +152,7 @@ function loadFormFromLocalStorage() {
152
const data = JSON.parse(localStorage.getItem("form"));
153
if (data) {
154
Object.keys(data).forEach((key) => {
155
- let input = document.querySelector(`[name="${key}"]`);
+ let input = document.querySelector(`input[name="${key}"]`);
156
157
// If the input is hidden, continue
158
if (input && input.type === "hidden") {
0 commit comments