]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - client/src/app/shared/shared-forms/input-toggle-hidden.component.ts
Add ability to filter my videos by live
[github/Chocobozzz/PeerTube.git] / client / src / app / shared / shared-forms / input-toggle-hidden.component.ts
index 0e974426bd082bdd40d7ccdbac3119ff979f0b4b..e03353fe1bb99e6fb25afd2cf60e3cdb990371de 100644 (file)
@@ -15,10 +15,11 @@ import { Notifier } from '@app/core'
   ]
 })
 export class InputToggleHiddenComponent implements ControlValueAccessor {
-  @Input() id = Math.random().toString(11).slice(2, 8) // id cannot be left empty or undefined
+  @Input() inputId = Math.random().toString(11).slice(2, 8) // id cannot be left empty or undefined
   @Input() value = ''
   @Input() autocomplete = 'off'
   @Input() placeholder = ''
+  @Input() tabindex = 0
   @Input() withToggle = true
   @Input() withCopy = false
   @Input() readonly = false