Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Configurable input checkbox hidden marker presence #292

Open
didiez opened this issue May 5, 2022 · 0 comments
Open

Configurable input checkbox hidden marker presence #292

didiez opened this issue May 5, 2022 · 0 comments

Comments

@didiez
Copy link

didiez commented May 5, 2022

It would be great to make configurable (via an attr?) the extra hidden marker added before/after a <input type="checkbox"> when using th:field="*{}".
In certain cases, it is not necessary to mark the presence of a disabled checked checkbox with an extra hidden input, and this elements end up polluting the query string, e.g. _item1=on&_item2=on&...

Is there any way to achieve this without overriding the actual SpringInputCheckboxFieldTagProcessor?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant