mirror of https://github.com/Chocobozzz/PeerTube
Add 'input-checkbox' value warning in doc
parent
d17d743051
commit
03a65456f4
|
@ -686,7 +686,11 @@ async function register ({ registerVideoField, peertubeHelpers }) {
|
||||||
name: 'my-field-name,
|
name: 'my-field-name,
|
||||||
label: 'My added field',
|
label: 'My added field',
|
||||||
descriptionHTML: 'Optional description',
|
descriptionHTML: 'Optional description',
|
||||||
|
|
||||||
|
// type: 'input' | 'input-checkbox' | 'input-password' | 'input-textarea' | 'markdown-text' | 'markdown-enhanced' | 'select' | 'html'
|
||||||
|
// /!\ 'input-checkbox' could send "false" and "true" strings instead of boolean
|
||||||
type: 'input-textarea',
|
type: 'input-textarea',
|
||||||
|
|
||||||
default: '',
|
default: '',
|
||||||
// Optional, to hide a field depending on the current form state
|
// Optional, to hide a field depending on the current form state
|
||||||
// liveVideo is in the options object when the user is creating/updating a live
|
// liveVideo is in the options object when the user is creating/updating a live
|
||||||
|
|
Loading…
Reference in New Issue