TextArea in Elm

I am trying to use the elm demo form as the basis for my application, but I can’t figure out for my whole life how to make a text area instead of 1 line input? What am i missing

+4
source share
3 answers

Now it is possible now with elm-html . This is a library for adding any html directly, so text fields should be easy to work with.

This is new, so the documentation and examples are sparse, but this should change.

Here's an example document editor written in Elm with text fields: http://dreamwriter.io

and code: https://github.com/rtfeldman/dreamwriter

+5

:

textarea [ cols 40, rows 10, placeholder "...", onInput ... ] []
+7

: .

, . discussion/PR , , , .

, , , , .

: . Elm 0.13 , Evan .

0

All Articles