Open arex388 opened 3 years ago
We've moved this issue to the Backlog milestone. This means that it is not going to be worked on for the coming release. We will reassess the backlog following the current release and consider this item at that time. To learn more about our issue management process and to have better expectation regarding different types of issues you can read our Triage Process.
We've moved this issue to the Backlog milestone. This means that it is not going to be worked on for the coming release. We will reassess the backlog following the current release and consider this item at that time. To learn more about our issue management process and to have better expectation regarding different types of issues you can read our Triage Process.
Is your feature request related to a problem? Please describe.
In a project I'm working on, I'm offering a global configuration setting (
EnableUserMultiComputerAssignment
) to allow aUser
to be assigned to one or moreComputer
s. Based on the setting's value I want to present a single or a multi select. The problem I'm running into is that because I am always passing anIEnumerable
for theasp-for
attribute, the current implementation of select tag helper always defaults to a multi-select even when I try to override themultiple
attribute.Looking at the source code for select tag helper it always sets
_allowMultiple
ifasp-for
is anIEnumerable
.I currently have to do the following to achieve the result I want:
And the model looks like this:
Describe the solution you'd like
I want to be able to override the tag helper if I explicitly set the
multiple
attribute: