Announcement

Collapse
No announcement yet.

Multi-Enum Display on Template

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Multi-Enum Display on Template

    Hello,

    Is there any way of displaying multi-enums in a different way? For instance, rather than having:
    Option1,Option2,Option3,Option4

    I would like to do something like:
    {{#each enumOptions}}
    <td>Option</td>
    {{/each}}

  • #2
    Hi Joe,

    Code:
    <table>
    <tr>
    <!-- {{#each fieldName}} -->
       <td>{{./this}}</td>
    <!-- {{/each}} -->
    </tr>
    </table>
    <!-- --> is used to prevent layout braking by wysiwyg editor.
    Last edited by yuri; 03-11-2019, 02:25 PM.

    Comment


    • #3
      Thank you, yuri!

      Comment

      Working...
      X