Skip to content

Commit dbfb967

Browse files
authored
docs: fix secret image url (#601)
The image is `png` not `jpg`. Also other images are loaded using `require`, there is no `@asset` elsewhere in docs...
1 parent bdaef94 commit dbfb967

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sources/platform/actors/development/secret_input.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ To make an input field secret, just add a `"isSecret": true` setting to the inpu
3636
```
3737

3838
The editor for this input field will then turn into a secret input, and when you edit the field value, it will be stored encrypted.
39-
<img src="{{@asset actors/development/images/secret-input-editor.jpg}}" alt="Secret input editor" style={{width: '100%', maxWidth: '822px'}}/>
39+
<img src={require("./images/secret-input-editor.png").default} alt="Secret input editor" style={{ width: '100%', maxWidth: '822px' }}/>
4040

4141
This is only available for `string` inputs, and the editor type is limited to `textfield` or `textarea`.
4242

0 commit comments

Comments
 (0)