DropDownTree TagHelper renders input instead of select element when checkboxes are enabled #7795
Labels
Bug
C: DropDownTree
FP: Unplanned
Sync status with associated Feedback Item
S: Wrappers (ASP.NET Core)
SEV: Medium
Bug report
The DropDownTree TagHelper with enabled checkboxes does not submit the selected options when it is bound to a Model property.
Reproduction of the problem
Define a DropDownTree TagHelper as a form editor and and enable its checkboxes.
Bind the editor to a Model property (an array of integers).
Submit the form and examine the submit request payload. The values of the selected items are missing.
Expected/desired behavior
When the DropDownTree TagHelper with checkboxes is used as a form editor, the values of the selected items must be submitted as expected to the server.
Workaround
Use the HtmlHelper version of the DropDownTree
Environment
The text was updated successfully, but these errors were encountered: