SaschaXVII
SaschaXVII
CC#
Created by Airsicktitan on 11/22/2023 in #help
✅ @onchange event not triggering
Oh, this actually looks like its a Server Component, which by default would make it non-interactive. To make it an interactive component and therefore support event binding add @rendermode InteractiveServer to the top. That is assuming you're in .NET 8?
13 replies
CC#
Created by Airsicktitan on 11/22/2023 in #help
✅ @onchange event not triggering
"undefined" is definitely not wrong, but it definitely wouldn't be my preferred choice either. You could always make the string nullable as well (string?). In any case, how do you know it's not firing the event?
13 replies