-
Notifications
You must be signed in to change notification settings - Fork 79
Closed
Labels
4 - verifiedIssues that have been tested, confirmed as mitigated, and are ready to close.Issues that have been tested, confirmed as mitigated, and are ready to close.bugBug reports for broken functionality. Issues should include a reproduction of the bug.Bug reports for broken functionality. Issues should include a reproduction of the bug.impact - p3 - not time sensitiveUser set priority impact status of p3 - not time sensitiveUser set priority impact status of p3 - not time sensitivep - highIssue should be addressed in the current milestone, impacts component or core functionalityIssue should be addressed in the current milestone, impacts component or core functionality
Milestone
Description
Actual Behavior
the calciteList.selectedItem property is incorrect when we unselect all list items via code
Expected Behavior
I would expect the CalciteList.selectedItem property to be an empty list if there are no selected list items
Reproduction Sample
https://codepen.io/john-grayson/pen/poQbMpe
Reproduction Steps
- select items in list to verify in the console that selecting/unselecting works correctly if interacting directly with list via list items
- click the top 'Clear Selection' button
- notice that the selectedItem property still contains the previous selected items
- click button again to verify that the selectedItem property is still incorrect
Reproduction Version
1.4.2
Relevant Info
No response
Regression?
No response
Priority impact
p4 - not time sensitive
Impact
No response
Esri team
N/A
Metadata
Metadata
Assignees
Labels
4 - verifiedIssues that have been tested, confirmed as mitigated, and are ready to close.Issues that have been tested, confirmed as mitigated, and are ready to close.bugBug reports for broken functionality. Issues should include a reproduction of the bug.Bug reports for broken functionality. Issues should include a reproduction of the bug.impact - p3 - not time sensitiveUser set priority impact status of p3 - not time sensitiveUser set priority impact status of p3 - not time sensitivep - highIssue should be addressed in the current milestone, impacts component or core functionalityIssue should be addressed in the current milestone, impacts component or core functionality