Skip to content

GemFileInput

  • The component is an input field for file uploads with an optional label. * The uploaded file will be PUT against the targetURL.

GUI Model

component GemFileInput(
  String id,
  String label,
  Event<Object> onUpload,
  String currentValueText = "",
  String targetURL
  )
Name Type Description Default value
id String The component's id; used to configure the styles.
label String Text describing the input field.
onUpload Event<Object> Event triggered on upload.
currentValueText String The text shown as the current value ""
targetURL String The URL on to which the POST upload occurs.