Fix textarea issue

This commit is contained in:
Eike Kettner
2020-01-12 10:58:48 +01:00
parent 6d0c140e8e
commit 8058bdd398
5 changed files with 22 additions and 6 deletions

View File

@ -136,6 +136,10 @@ view model =
[ text "Notes"
]
, div [ class "field" ]
[ textarea [ onInput SetNotes ] [ Maybe.withDefault "" model.notes |> text ]
[ textarea
[ onInput SetNotes
, Maybe.withDefault "" model.notes |> value
]
[]
]
]