@codesections If you have an input form on a static site generator's page then where is the form even going? You don't have a backend.
The reason it would probably be a default is because you can use a static site generator to build front ends to systems. I'd argue the checking should be on the backend though.
I should also point out i never noticed this behavior on any of the SSG I used.