# Dynamic input

This input component provides merge field input and renders another component using data from the merge field.

Preview

In order to use dynamic input you should prepare formatted data for component. For instance, using Execute JavaScript Code step we can send the RWC Attachment input component:

return {
  message:"attachments",
  inputComponent:"rwc-attachment",
  vBind:{
     name:"rwc-attachment",
     isMulti:"1",
     filesValidation:true,
     isPrivate:true,
     allowedFileTypes:[
        "JSON",
        "CSS"
     ],
     maxSize:1000,
     maxSizeOption:"file"
  }
}

In the example above there are the following fields (properties) in the data:

message - default plain text or HTML message that will be shown together with the input component.

inputComponent - the name of the component. This is a system property that helps us to convert data into a correct format.

vBind - settings for the component.

# Examples

The full list of components and their setting you can find in file below: Download component settings list

Last Updated: 6/6/2023, 6:03:34 PM