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.

radio buttons

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

radio buttons v10.4.28

Generates buttons based on the objects in a given array. Will set a field to a given value on click.

In pins 8
  • buttons array required

    Buttons to be created. Should be the following format: [{ value, icon, text, style (optional), class (optional) }]

    Default []

  • default value value

    The default value to be used if the value in the array is not set.

    Default None

  • default class uiclass

    The default class to be used if the class in the array is not set.

    Default btn btn-outline-primary

  • default style uistyle

    The default style to be used if the style in the array is not set.

    Default None

  • active class uiclass

    The class to be set when the button is set to active.

    Default active

  • field fielddefinitions required

    Field to save the value in

    Default None

  • validate fieldvalidation

    Applies the given validation to the element, overwrites attributes given in the attributes popup

    Default None

  • event clickevent

    Default None

Out pins 1
  • uicomponent uicomponent

A typical wiring for radio buttons: with values feeds the array pin; combine feeds the fielddefinitions pin; the uicomponent out pin feeds build PDF.

Studio canvas example for the radio buttons block: typical wiring for radio buttons.

Version history

Introduced in v10.4.28.


Back to Component UI Return to the main group to view all sub-groups Back to form Return to the group to view all blocks within this group