aboutsummaryrefslogtreecommitdiffhomepage
path: root/support/doc
diff options
context:
space:
mode:
authorChocobozzz <me@florianbigard.com>2021-12-10 14:13:33 +0100
committerChocobozzz <me@florianbigard.com>2021-12-10 14:13:33 +0100
commit03a65456f44a6152bb68975e29e076c8c5754cd6 (patch)
tree96ccc076017525e1ce731693b9e74a920c5ee876 /support/doc
parentd17d743051c5716e1e08cd8870d718cfd6a57f0c (diff)
downloadPeerTube-03a65456f44a6152bb68975e29e076c8c5754cd6.tar.gz
PeerTube-03a65456f44a6152bb68975e29e076c8c5754cd6.tar.zst
PeerTube-03a65456f44a6152bb68975e29e076c8c5754cd6.zip
Add 'input-checkbox' value warning in doc
Diffstat (limited to 'support/doc')
-rw-r--r--support/doc/plugins/guide.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/support/doc/plugins/guide.md b/support/doc/plugins/guide.md
index 3785246a7..4a0d318a7 100644
--- a/support/doc/plugins/guide.md
+++ b/support/doc/plugins/guide.md
@@ -686,7 +686,11 @@ async function register ({ registerVideoField, peertubeHelpers }) {
686 name: 'my-field-name, 686 name: 'my-field-name,
687 label: 'My added field', 687 label: 'My added field',
688 descriptionHTML: 'Optional description', 688 descriptionHTML: 'Optional description',
689
690 // type: 'input' | 'input-checkbox' | 'input-password' | 'input-textarea' | 'markdown-text' | 'markdown-enhanced' | 'select' | 'html'
691 // /!\ 'input-checkbox' could send "false" and "true" strings instead of boolean
689 type: 'input-textarea', 692 type: 'input-textarea',
693
690 default: '', 694 default: '',
691 // Optional, to hide a field depending on the current form state 695 // Optional, to hide a field depending on the current form state
692 // liveVideo is in the options object when the user is creating/updating a live 696 // liveVideo is in the options object when the user is creating/updating a live