{{!
    Copyright (C) 2017 Google Inc., authors, and contributors
    Licensed under http://www.apache.org/licenses/LICENSE-2.0 <see LICENSE file>
}}

<object-popover {item}="selectedAssessment" {popover-title}="selectedAssessmentTitle" {direction}="popoverDirection"
                {popover-link}="selectedAssessmentLink" {popover-title-info}="popoverTitleInfo">
    <tab-container>
        <tab-panel {(panels)}="panels" title-text="Attributes">
            <assessment-custom-attributes {instance}="item.data"
                                          {items}="item.data.custom_attribute_values"
                                          class="assessment-custom-attributes flex-box flex-box-multi"
                                          is-locked="true">
            </assessment-custom-attributes>
        </tab-panel>
        <tab-panel {(panels)}="panels" title-text="Comments">
          <related-comments {parent-instance}="item.data">
              <mapped-objects
                  {parent-instance}="parentInstance"
                  {related-types}="relatedTypes">
                <comment-list-item {instance}="instance"></comment-list-item>
              </mapped-objects>
          </related-comments>
        </tab-panel>
    </tab-container>
</object-popover>



{{!
    Copyright (C) 2017 Google Inc., authors, and contributors
    Licensed under http://www.apache.org/licenses/LICENSE-2.0 <see LICENSE file>
}}

<object-popover {item}="selectedAssessment" {popover-title}="selectedAssessmentTitle" {direction}="popoverDirection"
                {popover-link}="selectedAssessmentLink" {popover-title-info}="popoverTitleInfo">
    <tab-container>
        <tab-panel {(panels)}="panels" title-text="Attributes">
            <assessment-custom-attributes {instance}="item.data"
                                          {items}="item.data.custom_attribute_values"
                                          class="assessment-custom-attributes flex-box flex-box-multi"
                                          is-locked="true"
                                          has-limit="true">
            </assessment-custom-attributes>
        </tab-panel>
        <tab-panel {(panels)}="panels" title-text="Comments">
          <related-comments {parent-instance}="item.data">
              <mapped-objects
                  {parent-instance}="parentInstance"
                  {related-types}="relatedTypes">
                <comment-list-item {instance}="instance"></comment-list-item>
              </mapped-objects>
          </related-comments>
        </tab-panel>
    </tab-container>
</object-popover>



Set Attributes Tab in Related Assessment Popover limited to show 5 items by default
Set Attributes Tab in Related Assessment Popover limited to show 5 items by default
