It looks like this:
when it is hidden
<nf-accordion-item no-fit="" label="Расширенный поиск" _size="small" style="padding-bottom: 0px;">
when deployed
<nf-accordion-item no-fit="" label="Расширенный поиск" _size="small" style="padding-bottom: 16px;" opened="">
how should I interact with this?
I need to expand a given item, initially it is collapsed
Thats full code
Code: Select all
<nf-accordion-item no-fit="" label="Расширенный поиск" _size="small" style="padding-bottom: 16px;" opened="">
<nf-layout no-fit="true" vertical="true" class=" layout vertical no-wrap start">
<nf-layout no-fit="true" class=" layout horizontal no-wrap start">
<nf-filter-item field="nosology" operator="=">
<nf-combonsi label="Нозология" nsi-code="1.2.643.5.1.13.13.99.2.641" size="medium"></nf-combonsi>
</nf-filter-item>
<nf-filter-item field="diagnosis_main" operator="=">
<nf-combobox class="w100p" label="Диагноз" value-property="mkb" text-property="desease" drop-down-h-offset="-1" selected-index="-1" variant="vertical" size="medium"></nf-combobox>
</nf-filter-item>
<nf-filter-item field="diagnosis_complication" operator="=" null-string="null">
<nf-combobox class="w100p" label="Осложнение основного диагноза" value-property="mkb" text-property="desease" variant="vertical" size="medium"></nf-combobox>
</nf-filter-item>
<nf-filter-item field="approved_date" operator=">=">
<nf-datetime label="Установлен с" min-date="Sun Jan 01 1899 00:00:00 GMT+0230 (Moscow Standard Time)" class="datw" type="date" size="medium"></nf-datetime>
</nf-filter-item>
<nf-filter-item field="approved_date" operator="<=">
<nf-datetime label="Установлен до" class="datw" type="date" size="medium"></nf-datetime>
</nf-filter-item>
</nf-layout>
<nf-layout no-fit="true" class=" layout horizontal no-wrap start">
<nf-filter-item field="created_on" operator="=">
<nf-datetime max-date="Thu Dec 31 2099 00:00:00 GMT+0300 (Moscow Standard Time)" min-date="Sun Jan 01 1899 00:00:00 GMT+0230 (Moscow Standard Time)" label="Дата создания РЗ" class="datw" type="date" size="medium"></nf-datetime>
</nf-filter-item>
<nf-filter-item field="disease_outcome_date" operator="=">
<nf-datetime max-date="Thu Dec 31 2099 00:00:00 GMT+0300 (Moscow Standard Time)" min-date="Sun Jan 01 1899 00:00:00 GMT+0230 (Moscow Standard Time)" label="Дата исключения " class="datw" type="date" size="medium"></nf-datetime>
</nf-filter-item>
<nf-filter-item field="stage_type" operator="=">
<nf-combonsi label="Вид лечения" nsi-code="1.2.643.5.1.13.13.99.2.595" size="medium"></nf-combonsi>
</nf-filter-item>
<nf-filter-item field="on_treatment" operator="=">
<nf-combobox value-property="id" label="Находится на лечении" variant="vertical" size="medium"></nf-combobox>
</nf-filter-item>
<nf-filter-item field="disease_outcome_filter" operator="=" cast="right-any">
<nf-combonsi label="Исход заболевания" nsi-code="1.2.643.5.1.13.13.99.2.558" cache-key="disease_outcome" multi="true" size="medium"></nf-combonsi>
</nf-filter-item>
</nf-layout>
<nf-layout no-fit="true" class=" layout horizontal no-wrap start">
<nf-filter-item field="mo_regionid" operator="=" hidden="">
<nf-combonsi label="Субъект РФ" nsi-code="1.2.643.5.1.13.13.99.2.206" size="medium"></nf-combonsi>
</nf-filter-item>
<nf-filter-item field="modeptid" operator="=" cast="right-any" hidden="">
<nf-listbox-select label="Ведомственная принадлежность" text-property="full_name" value-property="id" multi="true" size="medium" hidden=""></nf-listbox-select>
</nf-filter-item>
<nf-filter-item field="mo" operator="=">
<nf-mosearchinput show-count="15" label="Медицинская организация" tabindex="0" aria-disabled="false" hidden=""></nf-mosearchinput>
</nf-filter-item>
<nf-filter-item field="medical_worker" operator="=">
<nf-combobox label="Медицинский работник" value-property="id" drop-down-h-offset="-1" selected-index="-1" variant="vertical" size="medium"></nf-combobox>
</nf-filter-item>
</nf-layout>
<nf-layout no-fit="true" class=" layout horizontal no-wrap start">
<nf-filter-item field="disease_severity" operator="=">
<nf-combonsi label="Степень тяжести" nsi-code="1.2.643.5.1.13.13.11.1006" filter-method="filterDiseaseSeverity" size="medium"></nf-combonsi>
</nf-filter-item>
<nf-filter-item field="ivl" operator="=">
<nf-combobox label="Пациент на ИВЛ" value-property="id" variant="vertical" size="medium"></nf-combobox>
</nf-filter-item>
<nf-filter-item field="ekmo" operator="=">
<nf-combobox label="Пациент на ЭКМО" value-property="id" drop-down-h-offset="-1" selected-index="-1" variant="vertical" size="medium"></nf-combobox>
</nf-filter-item>
<nf-filter-item field="orit" operator="=">
<nf-combobox label="Пациент размещен в ОРИТ" value-property="id" drop-down-h-offset="-1" selected-index="-1" variant="vertical" size="medium"></nf-combobox>
</nf-filter-item>
</nf-layout>
<nf-layout no-fit="true" class=" layout horizontal no-wrap start">
<nf-filter-item field="diagnosis_postmortem" operator="=">
<nf-listbox-select label="Посмертный диагноз" text-property="caption" value-property="pathology" key-field="pathology" parent-field="pathology_parent" selectonlyleaf="true" size="medium"></nf-listbox-select>
</nf-filter-item>
<nf-filter-item>
<nf-combobox value-property="id" label="ПАЗ" selected-index="-1" variant="vertical" size="medium"></nf-combobox>
</nf-filter-item>
<nf-filter-item field="epgu_status" operator="=">
<nf-listbox-select label="Статус ЕПГУ" text-property="caption" value-property="id" key-field="pathology" size="medium"></nf-listbox-select>
</nf-filter-item>
</nf-layout>
<nf-layout class=" layout horizontal no-wrap start fit">
<nf-filter-item>
<nf-combonsi label="Тип полиса" nsi-code="1.2.643.5.1.13.13.99.2.245" caption-field="polictype" selectonlyleaf="true" size="medium"></nf-combonsi>
</nf-filter-item>
<nf-filter-item>
<nf-input label="Серия полиса" auto-validate="true" minlength="2" maxlength="6" tabindex="0" size="medium" aria-disabled="true" variant="vertical" disabled="" style="pointer-events: none;">
<nf-input-mask scale="2" max-year="2099" min-year="1899" lazy="true"></nf-input-mask>
</nf-input>
</nf-filter-item>
<nf-filter-item>
<nf-input label="Номер полиса" auto-validate="true" tabindex="0" size="medium" aria-disabled="true" variant="vertical" disabled="" style="pointer-events: none;">
<nf-input-mask scale="2" max-year="2099" min-year="1899" lazy="true"></nf-input-mask>
</nf-input>
</nf-filter-item>
<nf-filter-item></nf-filter-item>
</nf-layout>
<nf-layout class=" layout horizontal no-wrap start fit">
<nf-filter-item>
<nf-combonsi label="Тип ДУЛ" nsi-code="1.2.643.5.1.13.13.99.2.48" caption-field="name" parent-field="parent_id" selectonlyleaf="true" size="medium"></nf-combonsi>
</nf-filter-item>
<nf-filter-item>
<nf-input label="Серия ДУЛ" auto-validate="true" tabindex="0" size="medium" aria-disabled="true" variant="vertical" disabled="" style="pointer-events: none;">
<nf-input-mask scale="2" max-year="2099" min-year="1899" lazy="true">
</nf-input-mask>
</nf-input>
</nf-filter-item>
<nf-filter-item>
<nf-input label="Номер ДУЛ" auto-validate="true" tabindex="0" size="medium" aria-disabled="true" variant="vertical" disabled="" style="pointer-events: none;">
<nf-input-mask scale="2" max-year="2099" min-year="1899" lazy="true"></nf-input-mask>
</nf-input>
</nf-filter-item>
<nf-filter-item></nf-filter-item>
</nf-layout>
</nf-layout>
</nf-accordion-item>