12 Replies

ok so basically
display each song and have a button that can delete that song
i just don't know how to put the current song into the method call
☹️
or if there would be a better way to do this i'm open to anything
Just call the method with the parameter like you normally would
you can't in blazor
i thik theres special syntax but idk it

@(() => RemoveSong(song))

what does your code look like?
i tried a bunch of differnt combinations with that
and none of them worked



@onclick="@(() => RemoveSong(song))"
tysm