I am trying to use the elm form demo as the basis for my app, but I can't for the life of me figure out how to make a text area instead of the 1 line input? What am I missing
This answer can be updated now:
textarea [ cols 40, rows 10, placeholder "...", onInput ... ] []
This should be possible now with elm-html. It's a library to add any html directly, so textareas should be easy to work with.
It's new, so documentation and examples are sparse, but this should change.
Here's an example document editor, written in Elm, with textareas: http://dreamwriter.io
and the code: https://github.com/rtfeldman/dreamwriter
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With