Corey Kosloski

Results 203 comments of Corey Kosloski

I'm sorry, but angular-xeditable is not setup that way. I can try and help you find a solution to your specific problem if you describe it more or provide a...

There is no image attached. [This](http://vitalets.github.io/angular-xeditable/#editable-row) is the editable row example. Based on your first post, it seems that is what you are trying to do.

You have to return a string value, not a boolean. [http://vitalets.github.io/angular-xeditable/#validate-remote](http://vitalets.github.io/angular-xeditable/#validate-remote)

Try return `"Something went wrong"` instead of false.

@fnk do you need any help with your test?

@fnk do you need any help with creating the tests?

Can you explain more what it is you are trying to achieve? Are you trying to prevent save calls to the back end by cancelling if nothing has submitted?

Why not just set the blur to submit?

Why can't you check the existence of data before submitting to backend? Or maybe add a [onbeforesave](http://vitalets.github.io/angular-xeditable/#onbeforesave) call that returns false if no data was entered (and doesn't call the...

Pull requests are welcome :)