Skip to content

Commit

Permalink
update readonly input
Browse files Browse the repository at this point in the history
  • Loading branch information
Staehler, Michael committed Jan 27, 2025
1 parent a09a8b4 commit 2048e10
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/resources/templates/user/edit.html
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
<input type="hidden" th:field="*{userId}" class="form-control" />
<div class="mb-3">
<label for="username" th:text="#{user.edit.username} + ':'" class="form-label"></label>
<input id="username" type="text" th:field="*{username}" class="form-control" readonly="readonly"/>
<input id="username" type="text" th:field="*{username}" class="form-control" readonly />
<p class="alert alert-danger field-alert" th:if="${#fields.hasErrors('username')}" th:errors="*{username}">username error</p>
</div>
<div class="mb-3">
Expand Down

0 comments on commit 2048e10

Please sign in to comment.