Add storage and retrieval of user data with new form entry

This commit is contained in:
Ray 2024-01-02 04:37:25 +00:00 committed by GitHub
parent 3224b9c91e
commit aa6cb21b69
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 9 additions and 0 deletions

View File

@ -94,6 +94,15 @@ export function MyForm(props) {
onChange={(e) => setContext(e.target.value)} onChange={(e) => setContext(e.target.value)}
/> />
<Form.Label style={{ fontSize: '30px' }}>Optionally upload evidence:</Form.Label>
<p>The storage bucket I get is limited to 1GB in total with the free tier Google provides but can upgrade if it get's used alot by us.</p>
<Form.Control
type="file"
name="context"
placeholder="Enter context here"
value={context}
onChange={(e) => setContext(e.target.value)}
/>
<Button type="submit">Submit</Button> <Button type="submit">Submit</Button>
</Col> </Col>