У меня есть переключатель th:, который возвращает результаты только при отключенном входе. В th: если все работает хорошо, проблема в том, что возвращаемый результат появляется за пределами поля ввода, как если бы это был отдельный абзац. Как я могу решить это?
<div class="form-group" th:switch="${project.type}">
<div class="row" >
<div class="col-md-5" >
<label>Tipo Opera</label>
<input th:case="1" th:text="Aeroporti" class="form-control" disabled>
<input th:case="2" th:text="Autostrade" class="form-control" disabled>
<input th:case="3" th:text="Strade" class="form-control" disabled>
<input th:case="4" th:text="Ferrovie" class="form-control" disabled>
<input th:case="5" th:text="Bonifiche" class="form-control" disabled>
<input th:case="6" th:text="Elettrodotti" class="form-control" disabled>
<input th:case="7" th:text="Gasdotti" class="form-control" disabled>
<input th:case="8" th:text="Oleodotti" class="form-control" disabled>
<input th:case="9" th:text="Stoccaggi" class="form-control" disabled>
<input th:case="10" th:text="Ricerca +' '+ e +' '+ coltivazione +' '+ idrocarburi" class="form-control" disabled>
<input th:case="11" th:text="Metropolitane +' '+ - +' '+ Metrotramvie" class="form-control" disabled>
<input th:case="12" th:text="Porti" class="form-control" disabled>
<input th:case="13" th:text="Poste" class="form-control" disabled>
<input th:case="14" th:text="Università" class="form-control" disabled>
<input th:case="15" th:text="Altro" class="form-control" disabled>
</div>
</div>
</div>