Uploaded image for project: 'Community Platforms'
  1. Community Platforms
  2. COM-20114

Allow class to be passed into ezplatform-matrix-fieldtype with attr parameter

    XMLWordPrintable

Details

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Low Low
    • None
    • None
    • Bundles
    • None

    Description

      When using this twig function call, the class is not added to the table tag

      {{ ez_render_field(content, 'some_matrix_field', { 'attr': { 'class': 'with-borders'}}) }}

      Ref: https://doc.ezplatform.com/en/2.5/guide/twig_functions_reference/#prototype-and-arguments_9

       

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            betsy betsy
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - Not Specified
                Not Specified
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 minute
                1m