I need to avoid submitting an x-editable select by pressing enter key, and allow the user to only submit it by clicking the submit button.
I can't find any reference in the documentation about how to achieve this in the x-editable.
Here's x-editable initialization code:
$(".xe-user").editable({
            mode        : "popup",
            type        : "select",
            source      : webroot + "/index.php/user/getUser",
            name        : "Id_user",
            toogle      : "manual",
            url         : url
        }); 
				
                        
Do this
Where '.data-item' is the editable element(s). You'll need to have your own "save" button to submit the form if you disable submitting via the enter button.