Merge pull request #207 from cameron/patch-1

add note in Input docs: <input type="file"> workaround
This commit is contained in:
Matthew Griffith 2020-05-01 21:34:43 -04:00 committed by GitHub
commit 2e4d1b2801
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -132,6 +132,9 @@ Instead of implicit submission behavior, [try making an `onEnter` event handler
And no one has to look up obtuse html documentation to understand the behavior of their code :). And no one has to look up obtuse html documentation to understand the behavior of their code :).
# File Inputs
Presently, elm-ui does not expose a replacement for `<input type="file">`; in the meantime, an `Input.button` and `elm/file`'s `File.Select` may meet your needs.
# Disabling Inputs # Disabling Inputs