-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
Ensure checked boxes are preserved in OrchardCore.Forms even where th… #17024
base: main
Are you sure you want to change the base?
Conversation
…ere isn't a default value on the InputPart
…t.cshtml Co-authored-by: Sébastien Ros <[email protected]>
I am still confused by this change. Here the template is supposed to render the From what I understand the Another interpretation of this PR would be that we forcibly set Now I think I get it. In the current state when a form is submitted and checked, if the value is Either way this change seems to "work", but I'd like to understand why/what is not working today. |
Good observation. I just tried my example again and yes, when |
By the way, going back to #16975 The The reason why I was getting that Even though an |
@sebastienros anything else to add here? |
Fixes #17023
Ensure checked boxes are preserved in OrchardCore.Forms even where there isn't a default value on the InputPart