From 70028eb9f34c4306c42f360c94910ade04947897 Mon Sep 17 00:00:00 2001 From: GatsbyJS Bot Date: Fri, 5 Jun 2020 00:11:04 +0000 Subject: [PATCH] Add form-name hidden field for Netlify Forms (#24548) It appears that Gatsby strips the form name from the form submission. By adding the hidden field you can restore the name and don't run into submission issues. Example code from -> https://codebushi.com/form-handling-gatsby-netlify/ Other have run into this issue at -> https://github.com/gatsbyjs/gatsby/issues/12040 Co-authored-by: gatsbybot --- yarn.lock | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/yarn.lock b/yarn.lock index d50b8ac..99d66dd 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1898,7 +1898,12 @@ dependencies: "@types/node" "*" -"@types/node@*", "@types/node@^8.5.7": +"@types/node@*": + version "14.0.6" + resolved "https://registry.yarnpkg.com/@types/node/-/node-14.0.6.tgz#f9e178b2da31a4b0ec60b64649e244c31ce18daf" + integrity sha512-FbNmu4F67d3oZMWBV6Y4MaPER+0EpE9eIYf2yaHhCWovc1dlXCZkqGX4NLHfVVr6umt20TNBdRzrNJIzIKfdbw== + +"@types/node@^8.5.7": version "8.10.61" resolved "https://registry.yarnpkg.com/@types/node/-/node-8.10.61.tgz#d299136ce54bcaf1abaa4a487f9e4bedf6b0d393" integrity sha512-l+zSbvT8TPRaCxL1l9cwHCb0tSqGAGcjPJFItGGYat5oCTiq1uQQKYg5m7AF1mgnEBzFXGLJ2LRmNjtreRX76Q==