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.

dynamic input

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

dynamic input v13.0.6

Generates a basic input with a dynamic field. The field will be used as state key, prefixed with the form.

In pins 7
  • form id value required

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

  • field value required

    The field to be used.

  • type value

    The type of input to display, can be any regular type like text or password.

    Default text

  • 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

  • on enter inpinfunction

    Will be executed when a user hits enter within this input

Out pins 1
  • state state

    Returns the element to the frontend state.

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

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

Used in these guides

These documentation pages use or explain this block:

Version history

Introduced in v13.0.6.


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