timwis / dataface

Build and manage data with a spreadsheet-like interface
https://dataface-demo.herokuapp.com
43 stars 4 forks source link

Can't save changes after switching sheets #3

Closed timwis closed 7 years ago

timwis commented 7 years ago

If you switch sheets and then make a change, it uses the field name from the initial sheet, causing the request to fail since the field doesn't exist in the target table.

EDIT: On further inspection, it actually is saving, but it's sending a second request with the original field name. Why's it trying to save twice? I think it's because save() is being triggered from pressing enter and from blurring.