You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm running a local copy of the demo and there's an issue with the Select form. Pressing "Submit" throws a server-side error, and the post router method is never run.
I think the problem comes from the multiple select fields. Commenting these out, or converting them to single fields, fixes the problem, and the Submit button triggers to goto event leading back to the root URI. I read in other issues on here that arrays types in forms are not yet supported. For clarity, perhaps this should be removed from the demo until they are?
Also, I tried adding a handler like this in demo/__init__.py:
Thanks for reporting this! Definitely looks like a bug in the demo. I'll have a bit more time later in the month to hone in on FastUI, so I can take a closer look at a fix then!
I'm running a local copy of the demo and there's an issue with the Select form. Pressing "Submit" throws a server-side error, and the
post
router method is never run.I think the problem comes from the multiple select fields. Commenting these out, or converting them to single fields, fixes the problem, and the Submit button triggers to goto event leading back to the root URI. I read in other issues on here that arrays types in forms are not yet supported. For clarity, perhaps this should be removed from the demo until they are?
Also, I tried adding a handler like this in
demo/__init__.py
:The 422 event is printed to the console, but the handler never gets fired. Why is this?
The text was updated successfully, but these errors were encountered: