From 1916c9663ac632227e60ebc93cec616b2dd6800d Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Tue, 22 Dec 2020 12:05:32 +0100 Subject: Fix some accessibility issues --- client/src/app/shared/shared-forms/input-toggle-hidden.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'client/src/app/shared/shared-forms/input-toggle-hidden.component.ts') diff --git a/client/src/app/shared/shared-forms/input-toggle-hidden.component.ts b/client/src/app/shared/shared-forms/input-toggle-hidden.component.ts index 56e5b9762..e03353fe1 100644 --- a/client/src/app/shared/shared-forms/input-toggle-hidden.component.ts +++ b/client/src/app/shared/shared-forms/input-toggle-hidden.component.ts @@ -15,7 +15,7 @@ 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 = '' -- cgit v1.2.3