elm-spa-example icon indicating copy to clipboard operation
elm-spa-example copied to clipboard

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

Open lucamug opened this issue 8 years ago • 3 comments

…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:

  • http://localhost:8000/#/register
  • http://localhost:8000/#/login
  • http://localhost:8000/#/editor
  • the comment textarea in the Article page

lucamug avatar May 22 '17 15:05 lucamug

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

Thanks!

rtfeldman avatar Feb 01 '18 03:02 rtfeldman

I'll merge this once 0.19 is out

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

jameshopkins avatar Mar 20 '18 14:03 jameshopkins

Nope. :smile:

rtfeldman avatar Mar 21 '18 02:03 rtfeldman