~kyoto-framework

https://pkg.go.dev/git.sr.ht/~kyoto-framework/kyoto

Set of libraries and tools to create frontends with Go

Trackers

~kyoto-framework/kyoto-framework

Last active 6 months ago

#19 Type system problems while using FormSubmit 7 months ago

bug added by ~kyoto-framework on ~kyoto-framework/kyoto-framework

#19 Type system problems while using FormSubmit 7 months ago

kyoto added by ~kyoto-framework on ~kyoto-framework/kyoto-framework

#19 Type system problems while using FormSubmit 7 months ago

Ticket created by ~kyoto-framework on ~kyoto-framework/kyoto-framework

Original message:

"Say I have a component with a state containing: Page int and I have a template with:

<form onsubmit="FormSubmit(this,event);">
 <input name="Page" type="number" value="1">
</form>

then FormSubmit sends Page as a string, not as a number as I would imagine. I can of course send it as Page2 and in my action convert the string to int and store it as Page, but this seems awkward. Is it possible for FormSubmit to check if an input name exists already within the state, and if so, use the same variable type (like int, bool, string)? Or do you have any other recommendation?"

#18 Nested component can load parents' state on init 7 months ago

kyoto added by ~kyoto-framework on ~kyoto-framework/kyoto-framework

#18 Nested component can load parents' state on init 7 months ago

bug added by ~kyoto-framework on ~kyoto-framework/kyoto-framework

#18 Nested component can load parents' state on init 7 months ago

Ticket created by ~kyoto-framework on ~kyoto-framework/kyoto-framework

If you're calling kyoto.ActionPreload in nested component and state have a field with the same name, it would be loaded (but shouldn't).

#15 Ability to initiate a redirect from server side 7 months ago

Comment by ~kyoto-framework on ~kyoto-framework/kyoto-framework

Implemented with v1.0.13

REPORTED RESOLVED IMPLEMENTED

#17 Support Bind and FormSubmit for non-latin values 7 months ago

Comment by ~kyoto-framework on ~kyoto-framework/kyoto-framework

REPORTED RESOLVED IMPLEMENTED

#16 Update docs to be similar to kyoto-framework/kyoto 7 months ago

docs added by ~kyoto-framework on ~kyoto-framework/kyoto-framework

#16 Update docs to be similar to kyoto-framework/kyoto 7 months ago

zen added by ~kyoto-framework on ~kyoto-framework/kyoto-framework