Thymeleaf list within list input
I have a data structure like this :- WorkHistory{ List<Jobs> jobs; } Jobs{ List<String> workDoneSentences; } Basically, I am trying to collect all past jobs where a person has worked and the work that he hsa done there. So it is a list of list structure. I would like to know how can we handle this in UI for Thymeleaf/Spring mvc. I am trying to create UI as shown in the images. There is a table to enter data. To enter workDoneSentence i would like to open another modal. And the list of sentences should be bound to correct job index. Work Done opens the modal to take input the list of work done