I am using FormData to fetch and submit form value using Ajax, It seem to do the job, however I noticed that when I define a multiple select element and when no value are selected for this field, it does not include with empty value, it simply ignores. But when I select any option then it works as expected.
What I want is, even if no options are selected, it must still include in data with an empty value. Is there a way I could achieve this?
Take for example input text or file, even if the value is empty, It does include it in the data with an empty value, why does it not do the same for multiple select element?