Skip to content

Commit 6848d25

Browse files
authored
Add @identity to the list of possible values for the @identityKey argument of Table and AdvancedTable (#2706)
1 parent 378b642 commit 6848d25

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

website/docs/components/table/advanced-table/partials/code/component-api.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ The Advanced Table component itself is where most of the options will be applied
104104
<C.Property @name="caption" @type="string">
105105
Adds a (non-visible) caption for users with assistive technology. If set on a sortable table, the provided caption is paired with the automatically generated sorted message text.
106106
</C.Property>
107-
<C.Property @name="identityKey" @type="'none'|string" @default="@identity">
107+
<C.Property @name="identityKey" @type="'@identity'|'none'|string" @default="@identity">
108108
Option to [specify a custom key](https://api.emberjs.com/ember/release/classes/Ember.Templates.helpers/methods/each?anchor=each#:~:text=%3C/ul%3E-,Specifying%20Keys,-In%20order%20to) to the `each` iterator. If `identityKey="none"`, this is interpreted as an `undefined` value for the `@identity` key option.
109109
</C.Property>
110110
<C.Property @name="sortedMessageText" @type="string" @default="Sorted by (label), (asc/desc)ending">

website/docs/components/table/table/partials/code/component-api.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ The Table component itself is where most of the options will be applied. However
106106
<C.Property @name="caption" @type="string">
107107
Adds a (non-visible) caption for users with assistive technology. If set on a sortable table, the provided table caption is paired with the automatically generated sorted message text.
108108
</C.Property>
109-
<C.Property @name="identityKey" @type="'none'|string" @default="@identity">
109+
<C.Property @name="identityKey" @type="'@identity'|'none'|string" @default="@identity">
110110
Option to [specify a custom key](https://api.emberjs.com/ember/release/classes/Ember.Templates.helpers/methods/each?anchor=each#:~:text=%3C/ul%3E-,Specifying%20Keys,-In%20order%20to) to the `each` iterator. If `identityKey="none"`, this is interpreted as an `undefined` value for the `@identity` key option.
111111
</C.Property>
112112
<C.Property @name="sortedMessageText" @type="string" @default="Sorted by (label), (asc/desc)ending">

0 commit comments

Comments
 (0)