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
I'm following the docs loyally but it is not working.
I call the server, get a 200 response that has a custom DB validation error message in the JSON that I pull out myself in the success() callback. To trigger an error state I've tried returning a simple string as the docs suggest -- but this does nothing. My x-editable element closes as if it were successful. Then I even try to call the error() callback method using this.error.call(this, response); and while this fires the error() method, it still has no impact on the unexpected x-editable element behavior.
I'm following the docs loyally but it is not working.
I call the server, get a 200 response that has a custom DB validation error message in the JSON that I pull out myself in the success() callback. To trigger an error state I've tried returning a simple string as the docs suggest -- but this does nothing. My x-editable element closes as if it were successful. Then I even try to call the error() callback method using this.error.call(this, response); and while this fires the error() method, it still has no impact on the unexpected x-editable element behavior.
Here is my code:
The text was updated successfully, but these errors were encountered: