<select multiple @bind> in pure .razor page #15405
Labels
area-blazor
Includes: Blazor, Razor Components
enhancement
This issue represents an ask for new feature or an enhancement to an existing one
✔️ Resolution: Duplicate
Resolved as a duplicate of another issue
Status: Resolved
Milestone
<select multiple @Bind> in pure .razor page
is possible @Bind the selected multiple values with some internal variable?
normally the select @Bind an internal string variable, but how do same thing with multiple selected row? there are some solution without the .cshtml, @model implementation and using?
because if I try to use an array like IList the runtime give me an error like:
System.InvalidOperationException: The type 'System.Collections.Generic.IList`1[[System.String, System.Private.CoreLib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]' does not have an associated TypeConverter that supports conversion from a string. Apply 'TypeConverterAttribute' to the type to register a converter.
The text was updated successfully, but these errors were encountered: