In the school project I'm working on, the user can add a row to a table by clicking on a button. I used javascript to do this. In one column of the table has to come a dropdown. But it has to be filled with a list I get from the controller, so I can access that with PHP.
This is what I have :
It works besides for 1 element. The text is so long that it gets printed on multiple lines en this gives an error.
Does anyone know how to fix this?