<acms-sub-category-select
  root-class="{{ class }}"
  <!-- BEGIN_IF [{{ target }}/nem] -->
  target="{{ target  }}"
  <!-- END_IF -->
  default-value="{{ defaultValue }}"
  default-label="{{ defaultLabel }}"
  category-id="{{ categoryId | default("[name='category_id']") }}"
  <!-- BEGIN_IF [{{ inputId }}/nem] -->
  input-id="{{ inputId }}"
  <!-- END_IF -->
  <!-- BEGIN_IF [{{ isDisabled }}/nem] -->
  is-disabled="{{ isDisabled }}"
  <!-- END_IF -->
  <!-- BEGIN_IF [{{ form }}/nem] -->
  form="{{ form }}"
  <!-- END_IF -->
  <!-- BEGIN_IF [{{ name }}/nem] -->
  name="{{ name }}"
  <!-- END_IF -->
  <!-- BEGIN_IF [{{ menuPortalTarget }}/nem] -->
  menu-portal-target="{{ menuPortalTarget }}"
  <!-- END_IF -->
  <!-- BEGIN_MODULE Config -->
  <!-- BEGIN_IF [{{ limit }}/eq/true/_and_/{entry_edit_sub_category_limit}/isset] -->
  limit="{entry_edit_sub_category_limit}"
  <!-- END_IF -->
  <!-- END_MODULE Config -->
>
  <!-- BEGIN_IF [{{ target }}/em] -->
  <input
    type="hidden"
    name="{{ fieldName | default("sub_category_id") }}"
    value="{{ fieldValue }}"
    <!-- BEGIN_IF [{{ fieldId }}/nem] -->
    id="{{ fieldId }}"
    <!-- END_IF -->
    <!-- BEGIN_IF [{{ form }}/nem] -->
    form="{{ form }}"
    <!-- END_IF -->
  >
  <!-- END_IF -->
</acms-sub-category-select>
