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.

checkbox

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

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.

checkbox v13.0.1 Updated v13.0.6

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

In pins 5
  • form id value required

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

  • value value required

    An optional value that will be toggled inside the array field.

  • 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 checkbox: value feeds the form_id pin; value feeds the value pin; the state out pin feeds get component child.

Studio canvas example for the checkbox block: typical wiring for checkbox.

Version history

Introduced in v13.0.1.

Last modified 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