List Property

The List Property allows you to add a list to a component. Input required information such as Name, Default, Placeholder, Canvas Placeholder.

Choose Type as required, simple or advanced.

Below is an example of what the Components Properties modal will look like once filled out.

  • Open the Components Properties modal by clicking the "+" icon in the Block Inspector.

  • Select the List Property you wish to configure.

Connect

The List Property needs to be connected for it to be applied to the canvas.

You need to select "Modify" in the Toolbar or Block Inspector for the blocks that make up a particular component to be visible.

  • Select the Component to which you want to connect the List Property.

  • Select "Modify" in the toolbar or the Block Inspector.

  • The blocks contained in the component are now visible in the navigator.

  • In the navigator, find and select the List property you wish to connect.

  • In the Components tab of the Primary tab, click the Content field to open the Component Properties modal.

  • In the Component Properties modal, select the List property you wish to connect.

  • Click the Connect button.

  • The List Property name is now visible in the Content field in the Block Inspector.

Once correctly connected, you should have something like this:

Name

Allows you to label the selected List property.

  • Open the Component Properties modal.

  • Select required List property.

  • Input suitable label name to Name field.

The required label will now be visible in the Block Inspector next to the list field.

Default

Allows you to set suitable default text to your component.

  • Open the Components Properties.

  • Select required List property.

  • Open Settings tab.

  • Input suitable default text in Default field.

This is how it should now look on the canvas.

Placeholder

Ensures that suitable alternative to the list appears in the list field of the block inspector if the list field has been cleared.

  • Open the Components Properties.

  • Select required List property.

  • Open Settings tab.

  • Input suitable text in Placeholder field such as "Write Here".

The placeholder text will now be visible in the required field of the Block Inspector.

Canvas Placeholder

Alternative text that appears in the List field of your post or page if the required List has not been added.

  • Open the Components Properties.

  • Select required List property.

  • Open Settings tab.

  • Input suitable text to Canvas Placeholder field, such as "Write List Here".

The canvas should look something like this now.

Last updated