Skip to content

Commit

Permalink
Textarea value
Browse files Browse the repository at this point in the history
  • Loading branch information
hojberg committed Dec 5, 2023
1 parent 6018f03 commit 5417d0a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/UI/Form/TextField.elm
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,8 @@ view textField =

input__ =
if textField.rows > 1 then
textarea (rows textField.rows :: attrs) [ text textField.value ]
-- textarea (rows textField.rows :: attrs) [ text textField.value ]
textarea (value textField.value :: rows textField.rows :: attrs) []

else
input (value textField.value :: type_ "text" :: attrs) []
Expand Down

0 comments on commit 5417d0a

Please sign in to comment.