rtfeldman / elm-spa-example

A Single Page Application written in Elm
https://dev.to/rtfeldman/tour-of-an-open-source-elm-spa
MIT License
3.28k stars 530 forks source link

Issue: Form fields are not updated while traveling in time with the … #17

Open lucamug opened 7 years ago

lucamug commented 7 years ago

…Elm Time Traveling Debugger

Fix: I added the parameter "value" to the input fields with the corresponding value for the model.

In case of the Tags field of the Article, because that is created on the fly buy joining the list of tags, I needed to add an extra value in the model, called "unparsedTags". Otherwise the script will always remove spaces at the end of typed text.

The fix affect these pages:

rtfeldman commented 6 years ago

I'll merge this once 0.19 is out. (There's an annoying bug with value which 0.19 fixes.)

Thanks!

jameshopkins commented 6 years ago

I'll merge this once 0.19 is out

Do you know when that might be, @rtfeldman? ;)

rtfeldman commented 6 years ago

Nope. :smile: