Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clicking reset filter button doesn't bring dropdown values #869

Open
skrishn opened this issue Sep 17, 2024 · 3 comments
Open

Clicking reset filter button doesn't bring dropdown values #869

skrishn opened this issue Sep 17, 2024 · 3 comments
Assignees
Labels
1-BUG Something isn't working Reporter 4.x Crowdsource Reporter (new) Sprint 4
Milestone

Comments

@skrishn
Copy link
Collaborator

skrishn commented Sep 17, 2024

Describe the bug

Related to this enhancement #647

When I apply a filter and reset it with the botton reset filter button, the dropdown arrow switches between up and down arrow and doesn't bring the values

Expected Behavior

It should bring dropdown values.

Reproduction Steps & Sample

https://localgovdev.mapsdevext.arcgis.com/apps/instant/reporter/index.html?appid=1d87c0739da84c63822e7eaf68e7d65b

  1. Click point layer and Apply Filter
  2. Reset it with the bottom reset button
  3. Notice the behavior

dropdown

Other Relevant Info

No response

@skrishn skrishn added the 1-BUG Something isn't working label Sep 17, 2024
@skrishn skrishn added this to the 2024.R03 milestone Sep 17, 2024
@skrishn skrishn added Sprint 4 Reporter 4.x Crowdsource Reporter (new) labels Sep 17, 2024
@sumitzarkar
Copy link
Collaborator

@jmhauck

  • We are calling the newly added forceReset method when the reset filter button is clicked.
  • We are not observing any console errors but when we have combobox in the filter list then thte list in the box is not shown after forceReset button click.
  • In the sample you created the force reset button was on first flow item, but in our case we have reset filter button on the same flow item where we have filter list.
  • If we call the force reset filter UI items and filters applied are resetting but the conbobox list is not shown.
  • When the reset button is on first flow item in this case the instant-app-filter-list coponent is re created when we navifate to filter list and we can see the combobox list
  • We updated the sample to match the case we have in reporter and we are able to reproduce this in the sample as well.
    instant-apps-filter-list.zip

Could you please take a look and let us know if we are missing anything in this.

@jmhauck
Copy link
Collaborator

jmhauck commented Sep 27, 2024

@sumitzarkar I'll have an another PR to update solutions-components package for the new version if IAC after this: Esri/instant-apps-components#425

@jmhauck
Copy link
Collaborator

jmhauck commented Oct 4, 2024

@skrishn this should be good now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1-BUG Something isn't working Reporter 4.x Crowdsource Reporter (new) Sprint 4
Projects
None yet
Development

No branches or pull requests

3 participants