You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 27, 2019. It is now read-only.
Right now it's just a text input field. JSON Schema has no concept of files. For this prototype, we need this to look like a file input. I suspect that this is best done via the onBeforeRender function. However we do it, the idea is just to replace the text input field (<input type="text" name="dependent.relationship.documentation">) with a file upload field (<input type="file" />.
Actually supporting this would probably involve using HTML5's file API, base64ing the file, and stuffing it into a string...but that presents its own challenges. Alternately, see how Alpaca does it.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Right now it's just a text input field. JSON Schema has no concept of files. For this prototype, we need this to look like a file input. I suspect that this is best done via the
onBeforeRender
function. However we do it, the idea is just to replace the text input field (<input type="text" name="dependent.relationship.documentation">
) with a file upload field (<input type="file" />
.Actually supporting this would probably involve using HTML5's file API, base64ing the file, and stuffing it into a
string
...but that presents its own challenges. Alternately, see how Alpaca does it.The text was updated successfully, but these errors were encountered: