rutan / potmum

Potmum is cloud note-app.
MIT License
114 stars 11 forks source link

Keep user input when edit tag (with validation error occurs) #11

Closed onk closed 7 years ago

onk commented 7 years ago

It is more usable to keep input of the form when validation error occurs.

If keep name, it chenges the action URL of the form. I guess this is the reason why input is now discarded.

Therefore, separate @tag and @tag_for_input. @tag holds the tag before changed. @tag_for_input accepts user input.

rutan commented 7 years ago

gooooooood, Thanks! 👍