Skip to content

Content: One to One and One to Many Field - Select Items Modal - Error in Search when inputting a number #3451

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

Closed
gtllien opened this issue Apr 25, 2025 · 0 comments · Fixed by #3459
Assignees
Labels
bug Something isn't working

Comments

@gtllien
Copy link

gtllien commented Apr 25, 2025

Describe the bug
Error when trying to search for an item (number) in filter items search field:
instrument.js:109 TypeError: r?.primary?.toLowerCase is not a function

To Reproduce
Steps to reproduce the behavior:

  1. Go to Add-on/Coverage Content Copy
  2. Click on 'Create' to create a new item
  3. Scroll down to 'Select Add-on/Coverage IDs'
  4. Click Add Existing Select Add-on/Coverage IDs
  5. In the Filter Items search box, type in a number
  6. See error below

Expected behavior
Fix the error, users should be able to search for a number eg. IDs in the Filter Items search box without any issues

Screenshots
Image

Note: the issue only happens when trying to search the id/number in the *filter items search field within the content, search is fine on the table list display:

Image

Additional context
Slack thread here

@gtllien gtllien added the bug Something isn't working label Apr 25, 2025
@zcolah zcolah moved this from Being Designed to Design Complete in Zesty.io Product Roadmap Apr 26, 2025
@gtllien gtllien changed the title Content: Filter Items search error when typing/searching for a number item Content: One to One and One to Many Field - Select Items Modal - Error in Search when inputting a number Apr 28, 2025
@agalin920 agalin920 self-assigned this Apr 29, 2025
@agalin920 agalin920 linked a pull request Apr 29, 2025 that will close this issue
@github-project-automation github-project-automation bot moved this from Design Complete to Development Complete in Zesty.io Product Roadmap May 6, 2025
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
Status: Development Complete
Development

Successfully merging a pull request may close this issue.

2 participants