<div class="mb-3">
<label for="Telephones" class="form-label">Telephone</label>
<input type="text" class="form-control" th:field="*{telephones[0].number}" id="Telephones">
<p th:if="${#fields.hasErrors('telephones')}" th:errors="*{telephones[0].number}"></p>
</div>