yznts / kyoto

Asynchronous frontends with Go
https://pkg.go.dev/github.com/yznts/kyoto/v3
MIT License
651 stars 28 forks source link

FormSubmit action not working as expected #153

Closed BenCherif closed 1 year ago

BenCherif commented 1 year ago

Hi sir, Thanks form the awesome framework. sir i'm facing issue with onsubmit="FormSubmit(this, event)" function :

the goal is when the click the submit form need to get inputs values (i know you are using javascript to get those values from FormData but i don't receive from the server side and also prevent reset the state of component (i lost state.Periods data when submit the form)

BenCherif commented 1 year ago

i switch to use the regular actions to reach the same result like FormSubmit action. Kind regards