Skip to content
Snippets Groups Projects

Added default disabled select option

Closes #37 (closed)

Unfortunately, Thymeleaf contains an issue where you cannot use th:field together with th:selected. It turns out wrapping the elements in div tags solves this problem, but yes this is an ugly work-around. See: https://stackoverflow.com/questions/24203220/thselected-a-number-in-a-select-option-with-thymeleaf-doesnt-work

Edited by Jochem de Goede

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
Please register or sign in to reply
Loading