I’m using a Spring Boot generated project (if that matters), and I’m using an html embedded form.
So I’m adding the checkboxes using the Element.innerHtml method, which seemed to work, until I submitted the form : the variables were not uploaded in the instance variables. (The same exact html code works if I put it directly in my form in html.)
When I check the source code in my browser, I see that some classes are added to the other inputs I made :
class=“ng-valid ng-valid-cam-variable-type ng-not-empty ng-valid-parse ng-pristine ng-touched”
I tried adding them manually, which unsurprisingly didn’t work.
I have been struggling on this problem for a few days now and can’t seem to find the solution, any help would be greatly appreciated, thanks in advance !