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

[Bug]: Unable to set/remove requirement text field values #1264

Open
1 task done
josueetcom opened this issue Jan 26, 2023 · 1 comment
Open
1 task done

[Bug]: Unable to set/remove requirement text field values #1264

josueetcom opened this issue Jan 26, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@josueetcom
Copy link
Member

Is there an existing issue for this?

  • I have searched the existing issues

What happened?

I expected to be able to add and remove values to the Majors text field but I'm unable to:
Screen Shot 2023-01-25 at 4 03 38 PM

Steps To Reproduce

  1. Go to https://dreamscholars.org/scholarships/TA1xQwttiORhCvuiDesJ/edit
  2. Try adding or removing majors, schools, or states in the Eligibility Requirements section.
  3. It doesn't work :/

Per the console, the error is:

react-dom.production.min.js:101 Uncaught TypeError: a.setFieldValues is not a function
    at j (FormikAutocomplete.tsx:38:36)
    at ut (useAutocomplete.js:531:7)
    at pt (useAutocomplete.js:565:5)
    at xt (useAutocomplete.js:871:5)

What devices are you experiencing the problem on?

Desktop

What browsers are you seeing the problem in?

Chrome

@josueetcom josueetcom added the bug Something isn't working label Jan 26, 2023
@josueetcom
Copy link
Member Author

Since we haven't worked on the project recently my guess is that one of the library package updates (probably a Formik or MUI one) renamed the setFieldValues function and this reached production undetected due to missing FormikAutocomplete test cases that actually interact with the UI element and add/remove values.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant