formio / formio.js

JavaScript powered Forms with JSON Form Builder
https://formio.github.io/formio.js
MIT License
1.87k stars 1.06k forks source link

formiojs select scroll fast and select value not set submit its showing error required #5751

Open sridharan-periyannan opened 1 month ago

sridharan-periyannan commented 1 month ago

Describe the bug Rapid scrolling often leads to the selected value not being registered. Submitting the form without a selected value results in a required field error.

Version/Branch formiojs": "^4.21.2"

To Reproduce Steps to reproduce the behavior:

  1. Create a form...
  2. Add component dropdown data URL API call check lazy loading ..
  3. scroll fast and select the value
  4. submit the form error field required already select

Expected behavior The selected value should be populated in the form field upon submission.Actual

Screenshots If applicable, add screenshots to help explain your problem. CapturePort

Additional context Add any other context about the problem here.

olgabann commented 1 month ago

Hi, @sridharan-periyannan. Thank you for bringing the issue to our attention. I couldn't replicate the problem in formiojs@4.21.2 using the provided steps. Could you please verify the steps in the video and inform us if there are any errors?

https://github.com/user-attachments/assets/17095cbf-470a-4380-94d0-33ddab2ba357