Closed mpscholten closed 2 years ago
cc @amitaibu
Looking at the code before my changes https://github.com/digitallyinduced/ihp/blob/3e311d3c78db2f2d69d934698b22c3f7a54e6159/IHP/View/CSSFramework.hs#L115-L130 it doesn't seem as if textarea
was used before. Or maybe it's done somewhere else?
Oh, maybe that's the fieldInput formField
.
So probably https://github.com/digitallyinduced/ihp/blob/51de9d6be69d7a176fa16998275076f7dd9da980/IHP/View/CSSFramework.hs#L140 should be changed.
Sadly there's no way to do something like <{variableTag}
in HSX :) So I solved this by manually copying the function body
Also spotted https://github.com/digitallyinduced/ihp/issues/1248 while doing that :)
After the recent changes to the IHP Forms, the
textareaField
helper doesn't render a<textarea>
anymore. Instead a<input>
is generated.