<div ng-controller="AssetsTableConfigCtrl" class="p-t-8">
  <c8y-property-selector
    properties="properties"
    managed-object="config.device"
    show-render-type="true"
    include-tree-children="true"
    default-properties="defaultProperties"
    device-types="deviceTypes"
    single-property-selection="true"
    with-children="true"
  >
  </c8y-property-selector>

  <div ng-if="forms.componentForm.$invalid"
    ng-class="{'help-block d-inline-block': !forms.componentForm.$error.propertySelected,
              'alert alert-warning': forms.componentForm.$error.propertySelected}"
    >
      {{'You must select at least one property.' | translate}}
  </div>
</div>
