Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ability to pick a file to populate bytes fields #168

Merged
merged 2 commits into from Feb 15, 2022

Conversation

jhump
Copy link
Contributor

@jhump jhump commented Feb 15, 2022

Resurrects #58. That PR was very close. It had a bunch of machinery related to re-generating stuff that is no longer needed (the repo has matured a bit since then). So I stripped it to its essence, and then made some changes to improve the look and styling. Sadly, you can't style a file input, and they are ugly. Luckily, most browsers (excluding the likes IE8 I think?) support using a label for the file input and hiding the actual input as a way of styling it.

Resolves #57.

codebreach and others added 2 commits February 14, 2022 17:13
- This will automatically write base64 string

Add `make recreate-bindata` to easy updates
- automatically updates internal/resources/{standalone,webform}/bindata.go
@jhump jhump merged commit 9a512fe into master Feb 15, 2022
@jhump jhump deleted the add-file-input-to-bytes branch February 15, 2022 02:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Support file upload for bytes fields
2 participants