bdawg
bdawg
CC#
Created by bdawg on 1/23/2024 in #help
Passing data structures through @value attribute of <option>
C# does throw an error when encountering this snippet. It claims this is an invalid cast.
4 replies
CC#
Created by bdawg on 1/23/2024 in #help
Passing data structures through @value attribute of <option>
And private void SomeCallBack(ChangeEventArgs e) { Model value = (Model)e.Value; }
4 replies
CC#
Created by bdawg on 1/23/2024 in #help
Passing data structures through @value attribute of <option>
I'm thinking of the following: <select @onchange="SomeCallBack><option @value=Model>Model.description</option></select>
4 replies