bcgov / SIMS

Student Information Management System. Post-Secondary Student Financial Aid System
Apache License 2.0
24 stars 13 forks source link

Offering create/edit - Validation API being called twice for every keypress #3545

Open dheepak-aot opened 2 months ago

dheepak-aot commented 2 months ago

Describe the Bug During the create/edit of an offering, validation API for offering gets called and it has been noticed that for every keypress the API is getting called twice instead once.

image.png

Expected Behaviour Validation API being called only once for a keypress/form change.

Actual Behaviour Validation API called twice for a keypress/form change.

Steps To Reproduce Steps to reproduce the behaviour:

  1. Login as an institution
  2. Click on any location which has program.
  3. Create/Edit an offering and type any number(s) on any of the offering costs
  4. While doing so, open network tab in developer tools and will see that API calls happen twice for every keypress.
andrewsignori-aot commented 1 month ago

This issue was resolved by https://github.com/bcgov/SIMS/pull/3567