Blocks Deprecated
Deprecated: use the web blocks for new pages This block belongs to state pages and UI components. Existing pages keep running, but new pages should use the web blocks. See Web Pages and the migration guide.

file input

This block is part of the state ui group and was last modified in core v10.4.28.

Field Selection Required

This block relies on a field that you select to perform its data actions. You must manually select the field you want to use in your flow using the field selector modal. To access the modal, click the white button on the block.

file input v10.4.28

Generates a file input. The field will be used as state key.

In pins 4
  • form id value required

    A unique ID for the form this field is used in.

  • class uiclass

    Assigns a CSS class to the element. • Hidden when unused

  • style uistyle

    Applies inline CSS style to the element • Hidden when unused

  • attributes uiattributes

    Adds custom attributes to the element. • Hidden when unused

Out pins 1
  • state state

    Returns the element to the frontend state.

A typical wiring for file input: value feeds the form_id pin; the state out pin feeds get component child.

Studio canvas example for the file input block: typical wiring for file input.

Used in these guides

These documentation pages use or explain this block:

Version history

Introduced in v10.4.28.


Back to state ui Return to the main group to view all sub-groups Back to state elements Return to the group to view all blocks within this group