Closed denniskaselow closed 4 months ago
Thanks, weird I didn't notice that before.
I'm just starting with Jaspr, so another question (the reason this error is even possible) is why is the event parameter to EventCallback dynamic instead of Event? I'm guessing because of SSR?
Yes, I can't use the Event
type on the server since I cant import from
dart:html` there.
It's been fixed for a while now.
Description
Some
EventCallback
s usee.targetUrl.value
buttargetValue
does not exist onEvent
.Steps To Reproduce
Create
-Button doesn't become activeUncaught TypeError: e.get$targetUrl is not a function
The same problem exists in the Weather Api (searching for a city results in
Error: Parameter q is missing.
in addition to the error in the console) and Jaspr Html Samples (selecting a different value in the dropdown). Thembox_hooks
experiment should have the same error too. Tested with Chrome and Firefox.Expected Behavior
No errors
Additional Context
The change from
target
totargetUrl
was introduced a year ago with https://github.com/schultek/jaspr/commit/04cf720a1d885143a8ed97cc4b5f1df157de5740I'm just starting with Jaspr, so another question (the reason this error is even possible) is why is the event parameter to
EventCallback
dynamic
instead ofEvent
? I'm guessing because of SSR?