aboutsummaryrefslogtreecommitdiffhomepage
path: root/shared/models/plugins/register-client-form-field.model.ts
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2020-08-21 14:45:57 +0200
committerChocobozzz <chocobozzz@cpy.re>2020-08-21 15:39:51 +0200
commit781ba981263ee6524fea1a95836108d252a124f4 (patch)
treed2185d8d5de30d037cac8267cdb7067e6b20d895 /shared/models/plugins/register-client-form-field.model.ts
parent365783532ea7942b96f5e83f4a4dc8f433a07603 (diff)
downloadPeerTube-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.ts2
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}