combobox-item: label vs heading vs textLabel mix-up in code and documentation #10321
Open
2 of 6 tasks
Labels
0 - new
New issues that need assignment.
ArcGIS Hub
Issues logged by ArcGIS Hub team members.
bug
Bug reports for broken functionality. Issues should include a reproduction of the bug.
calcite-components
Issues specific to the @esri/calcite-components package.
docs
Issues relating to documentation updates only.
estimate - 1
Very small fix or change (potentially a single line), doesn't require updates to tests.
impact - p2 - want for an upcoming milestone
User set priority impact status of p2 - want for an upcoming milestone
p - high
Issue should be addressed in the current milestone, impacts component or core functionality
Milestone
Check existing issues
Actual Behavior
textLabel
is now deprecated, andlabel
andheading
are the new go-tos, but removingtextLabel
from the combobox-items causes the combobox to not render correctly.ALSO
The combobox-item documentation is a bit funny looking, where the
textLabel
is both deprecated and requiredExpected Behavior
label
andheading
are sufficient for the combobox to render the items and chips correctly.Reproduction Sample
https://codepen.io/AaronPutterman/pen/JjQqgyW?editors=1000
Reproduction Steps
label
andheading
attribute to the combobox-itemsReproduction Version
v2.12.2
Relevant Info
Chrome Version 128.0.6613.138 (Official Build) (arm64), MacOS, 16-inch 2023, Apple M2 Pro
Regression?
v2.8 was the last version we used
Priority impact
impact - p2 - want for an upcoming milestone
Impact
More confusing than anything, and we can use
textLabel
in the mean-timeCalcite package
Esri team
ArcGIS Hub
The text was updated successfully, but these errors were encountered: