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

Use the button style to prompt for a file upload #268

Merged
merged 1 commit into from
Jun 29, 2016

Conversation

gemmaleigh
Copy link
Contributor

example form elements form elements gov uk elements

This fixes #202.

@gemmaleigh gemmaleigh merged commit 108b5e6 into master Jun 29, 2016
@gemmaleigh gemmaleigh deleted the add-file-upload-example branch June 29, 2016 12:58
gemmaleigh added a commit that referenced this pull request Aug 4, 2016
- Bump govuk frontend toolkit to 4.14.4 (PR #278)
- Add a .column-full class (PR #270)
- Add a file upload example (PR #268)
- Remove the blue outline from the main content area (PR #265)
- Fix legend text wrapping in IE (PR #248)
@gemmaleigh gemmaleigh mentioned this pull request Aug 4, 2016
@@ -0,0 +1,4 @@
<label class="button">
Upload a file
<input type="file" class="hidden" />
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Out of interest, why hidden and not visually-hidden?

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.

File upload pattern
2 participants