The server should validate the change and send an validation error to the client. However, if you use inline editing in a Datagrid the validation message cannot be place below the input field. In that case a blocking popup should appear.
Are you using the latest Mendix version (2.4.5)?