Functions in propos in mitosis component not transpiled to propfunction in qwik output #1581
Open
1 of 12 tasks
Labels
bug
Something isn't working
I am interested in helping provide a fix!
Yes
Which generators are impacted?
Reproduction case
cannot use tsx?
Expected Behaviour
when i have an interafce witha function such as onChange it needs to transpile to a propfunction in qwik otherwise i get an error and it does not work.
If i am just one component it does not seem to give an error, but if i am relying to multiple mitosis components that are using the onChange prop it stops working and i need to manually update the qwik transpiled code to make it work again
Actual Behaviour
see the message above
Additional Information
Either I am not using mitosis correctly or this is indeed a bug
here the example interafces iamusing
the date timepicker usesthe calendar as well so the onChange method gets called in the date time picker
In the qwik output i manually need to update the onChange to be a Propfunction such as this
by default this gets generated
which gives an erorr
The text was updated successfully, but these errors were encountered: