Skip to content

Modal Forms

Modals — dialog with components that you can use in Custom Commands to create a great UI for commands.


Text Inputs#


Text Input Component Settings Interface
  • Identifier — component identifier, enter something related to the component. It must be unique across all message components of this action;


    The message template of Action being executed by this modal will get modal.values variable map, which keys will be those identifiers.

    Thus, this way Action can determine what exact values have been entered.

  • Label — label displayed on the text input;

  • Style — text input style. Either Multi-line or Single-line;
  • The minimum/maximum value length — value length limitation;
  • Placeholder text if nothing is specified — is self-explanatory, a placeholder text if nothing is specified;
  • Default Value — the value that will be filled into the field by default;


    This field supports template engine so you could fill the text input with some data.

  • Required — the value will be required to fill if checked.



Modal Forms have some limitations:

  1. Up to 5 rows of components;

  2. Up to 1 text input per row.