From 23518fc035df1af6e05177cff128700cf0298d89 Mon Sep 17 00:00:00 2001 From: shleewhite Date: Fri, 24 Jan 2025 13:36:27 -0500 Subject: [PATCH] chore: add identity key note to advanced table docs --- .../table/advanced-table/partials/code/how-to-use.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/website/docs/components/table/advanced-table/partials/code/how-to-use.md b/website/docs/components/table/advanced-table/partials/code/how-to-use.md index 3e544813e9..629a9cae13 100644 --- a/website/docs/components/table/advanced-table/partials/code/how-to-use.md +++ b/website/docs/components/table/advanced-table/partials/code/how-to-use.md @@ -459,7 +459,14 @@ At this time, the Advanced Table does not support multi-select nested rows. If t #### Simple multi-select -This is a simple example of an Advanced Table with multi-selection. Notice the `@selectionKey` argument provided to the rows, used by the `@onSelectionChange` callback to provide the list of selected/deselected rows as argument(s) for the invoked function: +This is a simple example of an Advanced Table with multi-selection. Notice the `@selectionKey` argument provided to the rows, used by the `@onSelectionChange` callback to provide the list of selected/deselected rows as argument(s) for the invoked function. + +!!! Info + +If you want the state of the checkboxes to persist after the model updates, you will need to provide an `identityKey` value. + +!!! + ```handlebars