diff --git a/src/views/cascadeselect/CascadeSelectDoc.vue b/src/views/cascadeselect/CascadeSelectDoc.vue index 9ace6f7fc..078c03bcb 100644 --- a/src/views/cascadeselect/CascadeSelectDoc.vue +++ b/src/views/cascadeselect/CascadeSelectDoc.vue @@ -11,7 +11,8 @@ import CascadeSelect from 'primevue/cascadeselect';
CascadeSelect requires a value to bind and a collection of arbitrary objects with a nested hierarchy. optionGroupLabel - is used for the text of a category and optionGroupChildren is to define the children of the category.
+ is used for the text of a category and optionGroupChildren is to define the children of the category. Note that order of the optionGroupChildren + matters and it should correspond to the data hierarchy.