You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The example in the readme simply calls insert from a success callback.
Could you add to the example how to wire up validation and insert errors, for example those returned from collection2 inserts or updates, so that they are shown with the x-editable UI, if that is possible?
The text was updated successfully, but these errors were encountered:
It returns a promise and rejects it with the error message from a failed update/insert
or resolves with the primary key but you could resolve it with something else
that suits you needs.
I set display: false to let meteor reactively update the content instead of letting xeditable do it
Also worth mentioning is that I'm using Blaze-rc0 branch so I don't know how this will work when using spark
The example in the readme simply calls insert from a success callback.
Could you add to the example how to wire up validation and insert errors, for example those returned from collection2 inserts or updates, so that they are shown with the x-editable UI, if that is possible?
The text was updated successfully, but these errors were encountered: