gwendall/way.js

Chrome autocomplete doesn't work

Opened this issue · 1 comments

It looks like when the chrome autocomplete fills out an input field, the associated way model is not updated. Is there a way around this, such as reloading/refreshing the way model and grab all the input values again?

I found a temporary workaround, which is to call

$("input").each(function(i, el) {
  way.dom(el).toStorage();
});

in order to refresh all the stored fields.