Skip to content

Combobox Item value set to custom class instance is causing RangeError #8743

@DitwanP

Description

@DitwanP

Check existing issues

Actual Behavior

From a message in Teams from @dasa:

"The code I'm debugging is currently setting the value to a custom class instance, and then when an item is selected, or the user types, the console shows filter.js:5 Uncaught RangeError: Maximum call stack size exceeded."

Expected Behavior

Using a custom class instance as the value of the value prop should not throw cause an error when items are selected or when the user types.

Reproduction Steps

N/A

Reproduction Version

2.4.0

Priority impact

p4 - not time sensitive

Calcite package

  • @esri/calcite-components
  • @esri/calcite-components-angular
  • @esri/calcite-components-react
  • @esri/calcite-design-tokens
  • @esri/eslint-plugin-calcite-components

Metadata

Metadata

Assignees

No one assigned

    Labels

    0 - newNew issues that need assignment.ArcGIS Maps SDK for JavaScriptIssues logged by ArcGIS SDK for JavaScript team members.bugBug reports for broken functionality. Issues should include a reproduction of the bug.calcite-componentsIssues specific to the @esri/calcite-components package.impact - p3 - not time sensitiveUser set priority impact status of p3 - not time sensitivep - mediumIssue is non core or affecting less that 60% of people using the libraryspikeIssues that need quick investigations for time estimations, prioritization, or a quick assessment.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions