diff options
author | Chocobozzz <me@florianbigard.com> | 2020-08-21 14:45:57 +0200 |
---|---|---|
committer | Chocobozzz <chocobozzz@cpy.re> | 2020-08-21 15:39:51 +0200 |
commit | 781ba981263ee6524fea1a95836108d252a124f4 (patch) | |
tree | d2185d8d5de30d037cac8267cdb7067e6b20d895 /shared/models/plugins/register-client-form-field.model.ts | |
parent | 365783532ea7942b96f5e83f4a4dc8f433a07603 (diff) | |
download | PeerTube-781ba981263ee6524fea1a95836108d252a124f4.tar.gz PeerTube-781ba981263ee6524fea1a95836108d252a124f4.tar.zst PeerTube-781ba981263ee6524fea1a95836108d252a124f4.zip |
Add ability to set a description to dynamic fields
Diffstat (limited to 'shared/models/plugins/register-client-form-field.model.ts')
-rw-r--r-- | shared/models/plugins/register-client-form-field.model.ts | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/shared/models/plugins/register-client-form-field.model.ts b/shared/models/plugins/register-client-form-field.model.ts index df24339c6..ec333e8d6 100644 --- a/shared/models/plugins/register-client-form-field.model.ts +++ b/shared/models/plugins/register-client-form-field.model.ts | |||
@@ -3,6 +3,8 @@ export interface RegisterClientFormFieldOptions { | |||
3 | label: string | 3 | label: string |
4 | type: 'input' | 'input-checkbox' | 'input-textarea' | 'markdown-text' | 'markdown-enhanced' | 4 | type: 'input' | 'input-checkbox' | 'input-textarea' | 'markdown-text' | 'markdown-enhanced' |
5 | 5 | ||
6 | descriptionHTML?: string | ||
7 | |||
6 | // Default setting value | 8 | // Default setting value |
7 | default?: string | boolean | 9 | default?: string | boolean |
8 | } | 10 | } |