Replies: 2 comments 2 replies
-
any help for this? |
Beta Was this translation helpful? Give feedback.
2 replies
-
Ah, I understand: If you're collecting information in some kind of form (e.g. name, age, birth certificate) you want the user to submit all information with the click of a button. Any files "staged" for upload should be submitted as well. To be honest, I don't know how to do that. I guess you might need to wrap it in a Form, maybe use a File Picker instead of an Uploader, and receive all form data in a FastAPI POST endpoint. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Question
On https://nicegui.io/documentation/upload we have the upload but works only on auto-upload with the event
on_upload
.If I want to get the data in the file upload in ia different event? Like in my case I have that in a modal so before I need to create the data and after save also the image.
In this way I can do it only on edit action.
Also on the example it is not clear how to get that data outside the event.
Beta Was this translation helpful? Give feedback.
All reactions