OrganizationChart: "value" property improperly defined as "OrganizationChartNode[]" in OrganizationChartProps #2069
Labels
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
Milestone
I'm submitting a ... (check one with "x")
OrganizationChart
component defines a"value"
attribute defined in"organizationchart/OrganizationChart.d.ts"
as an array ofOrganizationChartNode
:But the component does not accept arrays, only a single
OrganizationChartNode
, confirmed by the code in the documentation and failure of the component when passing an array as valueCurrent behavior
Compiling for production an application using the
OrganizationChart
when using typescript fails when passing a singleOrganizationChartNode
to the"value"
propertyExpected behavior
Compiling for production an application using the
OrganizationChart
when using typescript succeeds when passing a singleOrganizationChartNode
to the"value"
propertyPlease tell us about your environment:
The text was updated successfully, but these errors were encountered: