-
Is there an existing issue for this?
Describe the bugI'd like to use RadioList with SelectedItem, however RadioList.Items does not allow to use generic version of SelectedItem. Expected BehaviorI'm able to use it like below:
Interactive render modeInteractive WebAssembly (Client-side rendering (CSR) using Blazor WebAssembly) Steps To Reproduce. Exceptions (if any)No response .NET VersionNET9.0 Anything else?No response |
Beta Was this translation helpful? Give feedback.
Replies: 8 comments
-
@jasniec Thank you for filing this issue. In order for us to investigate this issue, please provide a minimalistic repro project that illustrates the problem. |
Beta Was this translation helpful? Give feedback.
-
@jasniec I don't understand your intention, this issue is classified as a bug but the description seems to be the intention. Please provide more information |
Beta Was this translation helpful? Give feedback.
-
Since I see class SelectedItem and I'm able to add a generic parameter to RadioList, I consider it a bug, because I can't combine both together. It seems someone forgot to handle generic SelectedItem in RadioList when doing generic version |
Beta Was this translation helpful? Give feedback.
-
@jasniec could you please submit a PR to fix this issue? |
Beta Was this translation helpful? Give feedback.
-
the title is not true, I have tried |
Beta Was this translation helpful? Give feedback.
-
@ice6 I didn't quite understand what he was trying to say so I couldn't react properly. I guess that it may be related to the generic model. @jasniec could you try the |
Beta Was this translation helpful? Give feedback.
-
@ArgoZhang any docs for the |
Beta Was this translation helpful? Give feedback.
-
@ice6 Yes. There is no relevant documentation yet, but it will be improved later. Currently, you can only learn about it through the source code. |
Beta Was this translation helpful? Give feedback.
@ice6 I didn't quite understand what he was trying to say so I couldn't react properly. I guess that it may be related to the generic model.
@jasniec could you try the
RadioListGeneric<TValue>
component? this is a new component maybe meet your requirement.