如何将HTML5表单元素(例如<input type =“date”/>)与Elm的样式元素库一起使用?

时间:2017-12-29 18:44:58

标签: html5 elm

我有一个观点(我已经嘲笑了here),它使用Elm的style-elements库来生成表单:

Error: Can't set headers after they are sent.
    at ServerResponse.setHeader (_http_outgoing.js:371:11)
    at ServerResponse.header (./node_modules/express/lib/response.js:767:10)
    at ServerResponse.contentType (./node_modules/express/lib/response.js:595:15)
    at Server.finalize (./dist/server.js:1156:17)
    at Layer.handle [as handle_request] (./node_modules/express/lib/router/layer.js:95:5)
    ...

据我所知,简单地设置“输入”并不是一个很好的方法。

0 个答案:

没有答案