Skip to Content

Filters screen is working on first time but not working all the time

Hello,
Greetings of the day!
I am trying to use FilterBar control in my application. While clicking on filters button at first time I am getting filters dialog. when I am trying to click second time I am getting dump like below.

filter.png

Can anyone tell me how to solve this error
Thanks and best regards
Anusha

<VBox
   height="100%"
   fitContainer="true">
   <items>
      <fb:FilterBar
         reset="onReset"
         search=".handleShow"
         showRestoreButton="true"
         filterContainerWidth="17rem"
         showClearButton="true">
         <fb:filterGroupItems>
            <fb:FilterGroupItem
               groupName="g1"
               label="Partner"
               name="Partner"
               partOfCurrentVariant="true"
               visibleInFilterBar="true">
               <fb:control>
                  <g:shMultiOrgAll
                     id="Partner"
                     hideLoading="true"
                     modelName="oModel"
                     required="true"
                     disabledFilters="{SearchHelpProperties>/Partner/disabledFilters}"
                     path="/transactionPartner"
                     selectOptions="{SearchHelpProperties>/Partner/selectOptions}"
                     roleSelOptions="{SearchHelpProperties>/Partner/roleSelOptions}"/>
               </fb:control>
            </fb:FilterGroupItem>
            <fb:FilterGroupItem
               groupName="g1"
               name="period"
               label="{i18n>std.period}"
               partOfCurrentVariant="true"
               visibleInFilterBar="true">
               <fb:control>
                  <DateRangeSelection
                     width="100%"
                     id="period"
                     displayFormat="medium"
                     required="true"
                     value="{oModel>/period}"
                     change=".validatePeriodDates">
                  </DateRangeSelection>
               </fb:control>
            </fb:FilterGroupItem>
         </fb:filterGroupItems>
      </fb:FilterBar>
    </items>
</VBox>
filter.png (3.2 kB)
Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Posted on Jul 29, 2020 at 11:21 AM

    Hi Anusha,

    Based on the screenshot shared by you, it looks like you might be destroying some controls while closing the Filter box. This is causing the issue to appear in second click.

    Could you please share your controller code.

    Best Regards,

    Rohit

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.