Skip to content

form:hidden tag should allow most (All?) of the same HTML attributes as form:input [SPR-7249] #11908

@spring-projects-issues

Description

@spring-projects-issues

Tom Duffey opened SPR-7249 and commented

The form:hidden tag should support the same HTML attributes as form:input. After all, a "hidden" field is a HTML input field with type="hidden."

This is useful in practice when we want to attach events or styles to hidden inputs. This sounds strange at first but I have found it used in a few different applications when migrating from Struts to Spring Web MVC.


Affects: 3.0.2

Attachments:

Referenced from: commits 78c906c

Metadata

Metadata

Assignees

Labels

in: webIssues in web modules (web, webmvc, webflux, websocket)type: enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions