Merge pull request #207 from cameron/patch-1
add note in Input docs: <input type="file"> workaround
commit2e4d1b28015f4f8457a17184e7b9e41e1d96bbe8
authorMatthew Griffith <mdg.griffith@gmail.com>
dateFri 1 May 2020, 21:34 (7 years ago)
parent6b78e4368e2469
src/Element/Input.elm+3
@@ -132,6 +132,9 @@ Instead of implicit submission behavior, [try making an `onEnter` event handler
132132
133133And no one has to look up obtuse html documentation to understand the behavior of their code :).
134134
135+# File Inputs
136+
137+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.
135138
136139# Disabling Inputs
137140