Fixed th:field not being correctly applied when <input> has no "type" attribute.