Skip to content

Commit f566c32

Browse files
cdg191dimodi
authored andcommitted
HasChildren is bool, not string (#2468)
The 'PanelBar Item Features' section incorrectly lists HasChildren as being a string, yet the examples show it as bool.
1 parent 2fc701b commit f566c32

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/panelbar/data-binding/overview.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ The PanelBar items provide the following features that you control through the c
3232

3333
* `ParentId` - `string` - identifies the parent to whom the item belongs. Required only when binding to flat data. All items with the same `ParentId` will be rendered at the same level. For a root level item, this must be `null`.
3434

35-
* `HasChildren` - `string` - whether the item has children. Determines whether an expand arrow is rendered next to the item. Required for binding to flat data. With hierarchical data, the PanelBar will render the icon based on the existence of child items, but `HasChildren` will take precedence.
35+
* `HasChildren` - `bool` - whether the item has children. Determines whether an expand arrow is rendered next to the item. Required for binding to flat data. With hierarchical data, the PanelBar will render the icon based on the existence of child items, but `HasChildren` will take precedence.
3636

3737
* `Items` - `string` - the collection of child items that will be rendered under the current item. Required only when binding to hierarchical data.
3838

0 commit comments

Comments
 (0)