formio.js icon indicating copy to clipboard operation
formio.js copied to clipboard

[BUG] scrolling results of a select search resets the list with custom

Open jalama opened this issue 4 years ago • 2 comments

Environment

Please provide as many details as you can:

  • Hosting type
    • [x] Form.io
    • [x] Local deployment
      • Version:
  • Formio.js version: 4.13.x
  • Frontend framework: Angular
  • Browser: FF, Chrome
  • Browser version:

Steps to Reproduce

  1. Create a select list, using a url as the source of options, used https://vpic.nhtsa.dot.gov/api/vehicles/getmodelsformake/honda?format=json
  2. Allow more than 4 options when using the drop down filtering, set Choices.js options to {"searchResultLimit": 10}
  3. Click on the Select Drop down
  4. search for letter "C"
  5. Scroll up and down on the list

Expected behavior

The filtered list of results in the drop down should stay the same.

Observed behavior

When you scroll down the list of values resets to the original list

Example

Form.io Sandbox (http://formio.github.io/formio.js/app/sandbox) #60817cb7071df65d821b7128

This is a duplicate of this comment (https://github.com/formio/formio.js/issues/1701#issuecomment-643411546)

jalama avatar Apr 22 '21 13:04 jalama

Are there any updates about this issue?

josevizzn avatar Mar 27 '23 20:03 josevizzn

Having the same problem

saravanapriyanm avatar Feb 07 '24 11:02 saravanapriyanm

We are not able to reproduce this behavior, we have tested on FormioJS 4.19.0 following the steps you have provided and it is working as expected. Could you please try this in the latest formio.js version 4.19.0 and above and let us know if you are having any issues?

Sidiro23 avatar Apr 24 '24 13:04 Sidiro23