Question

I've got a select with two choices that doesn't update the selected value after I send request. Because the value stays, I cannot send the next change, because it thinks it's the original choice.

I've even updated the selected field manually, but it still doesn't recognize as a changed value, so it doesn't send.

Was it helpful?

Solution

There is an option for x-editable since version 1.2 called savenochange.

Example:

$(document).ready(function () {
    $('.img-thumbnail').editable({savenochange: true});
});

Documentation: X-Editable Options

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top