Arguably, that’s for the best. If somebody with domain knowledge knows enough to make a basic form that’s needed with HTML and Javascript (ignoring keeping the Javascript part), it makes it very easy for the devs to take that, run with it, and turn it into an actual product.
That right there is the problem. It’s one thing to take a shitty piece of work from a non dev and use that to get an understanding of what the product should do, and it’s another thing to just copy/paste it into prod.