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

fix: wrap set state with array expression #1079

Merged
merged 1 commit into from
Aug 17, 2023
Merged

fix: wrap set state with array expression #1079

merged 1 commit into from
Aug 17, 2023

Conversation

rtpascual
Copy link
Contributor

Problem

The form throws when changing selection of a record for the autocomplete field.

Solution

Wrap value for setting local state in an array.

Additional Notes

Links

Ticket

GitHub issue:

Other links

Verification

Manual tests

Automated tests

  • Unit tests added/updated
  • E2E tests added/updated
  • N/A - (provide a reason)
  • deferred - (provide GitHub issue for tracking)

Housekeeping

  • No non-essential console logs
  • All new files contain license notice

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@rtpascual rtpascual marked this pull request as ready for review August 17, 2023 17:24
@rtpascual rtpascual requested a review from a team as a code owner August 17, 2023 17:24
@rtpascual rtpascual merged commit 5c73726 into main Aug 17, 2023
9 checks passed
@rtpascual rtpascual deleted the array-expression branch August 17, 2023 19:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants