In a form, I have a multiple select, where the input can have 0 or X values.
Problem is, if user doesn't send value, in ajax, the variable is an empty array and it is not sent in the request : the object property is not set to null and it keeps its old value, and validation keeps ok.
The only trick I found is to send a variable [0], and in this case it works.
Do you have any idea how can I empty an object property in validation ?