Convert the input field from text to array

Hi,
How can I convert the input field from text to array?
The input value “employmentPreference” is an array with 3 items: “Temporary”, “Permanent” and “Contract”.
After submission / execution of the module, the input bundles show the value of the field is a string with comma separated values.
I would like to make the value to be an array like following:
[“Temporary”, “Permanent”, “Contract”]

Thanks for your help in advance.

Screenshot 2024-11-13 at 15.35.42