Hello,
I use Prestashop 1.7.5.2.
In the configuration page of my module, I try to allow the user to enter different values one by one in a defined field and these values are added to a list. In another field the user has access to this list and can delete values from the list. My problem is the display of the list in the defined field to delete items from the list.
I started on an idea to create an array() in the getContent() function, as soon as you validate a value in the field to add it, it adds it to the array: $array[ ]=$new_value. And when we choose a value in the list of the other field we would make an unset($array[$value_a_delete]).
My problem comes in the displayForm() function, for the field of the elements to delete I need a list and I can't get it to display it.