simsalabim / sisyphus

Gmail-like client-side drafts and bit more. Plugin developed to save html forms data to LocalStorage to restore them after browser crashes, tabs closings and other disasters.
http://sisyphus-js.herokuapp.com
MIT License
1.99k stars 221 forks source link

Only remember changed inputs #152

Open yani opened 6 years ago

yani commented 6 years ago

Is it possible to only remember changed inputs?

My form only submits changed values, so multiple people can be updating the same resource at the same time and the only conflict can be updated fields. Which is perfect for a form with 90~ inputs.

Kreyco commented 6 years ago

Sisyphus now is catching any input no hidden, so when its timeout is trigger, all inputs are saved.

But if you want to try it, any Pull Request is welcome. If @simsalabim is agree.

😄