You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: adminforth/documentation/docs/tutorial/03-Customization/02-customFieldRendering.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -605,7 +605,7 @@ For fields containing sensitive data (like passwords, API keys, tokens, or other
605
605
606
606
The renderer wraps the standard value output and adds a click-to-reveal blur effect. Clicking again hides the value.
607
607
608
-
For long values (like API keys) you can enable compact mode by passing `compact:true` via `meta`. When set, the value is shortened the same way as the `CompactUUID` renderer (first 4 + `...` + last 4 characters). In compact mode you can additionally pass `copy:true` to render a copy-to-clipboard button next to the value. The copy button is only shown once the value is revealed (blur removed):
608
+
For long values (like API keys) you can enable compact mode by passing `compact:true` via `meta`. When set, the value is shortened the same way as the `CompactUUID` renderer (first 4 + `...` + last 4 characters). You can additionally pass `copy:true` to render a copy-to-clipboard button next to the value, and `eyeButton:true` to render an eye icon that also toggles the blur. `compact`, `copy` and `eyeButton` are independent of each other and can be combined in any way:
609
609
610
610
```ts title='./resources/anyResource.ts'
611
611
columns: [
@@ -617,13 +617,13 @@ For long values (like API keys) you can enable compact mode by passing `compact:
0 commit comments